HTTP Server URL Path #976
pidario
started this conversation in
Community Discussions
Replies: 1 comment 1 reply
-
|
Hi, Modifying default HTTP paths is not currently supported but feel free to file an enhancement request for this! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there, and thanks for this awesome piece of software.
My question is really simple (though I couldn't find anything related):
Is it possible to configure stalwart so that its admin web panel, API and JMAP endpoints are reachable not at the root path?
For instance:
instead of:
https://mail.example.com/I would like to open the admin panel at
https://example.com/mail/.This simplifies DNS configuration and certificates.
I tried by setting
server.http.url = "http://example.com/mail"But I get this JSON response:
{"type":"about:blank","status":404,"title":"Not Found","detail":"The requested resource does not exist on this server."}If in the reverse proxy (traefik) I strip the
/mailprefix, it's better: it seems to be able to reach theindex.htmlfile, but all related files (css,jsandwasm) cannot be found. Of course, if I manually try to download those files re-adding the/mailpath, it works as expected.This method of stripping the prefix works for other software, for example syncthing.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions