mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 08:23:48 +03:00
8b0706e02d
you can already get most http to https redirects through DontRedirectPlainHTTP in WebHandler, but that needs handlers for all paths. now you can just set up a redirect for a domain and all its path to baseurl https://domain (leaving other webdirect fields empty). when the request comes in with plain http, the redirect to https is done. that next request will also evaluate the same redirect rule. but it will not cause a match because it would redirect to the same scheme,host,path. so next webhandlers get a chance to serve. also clarify in webhandlers docs that also account & admin built-in handlers run first. related to issue #16 |
||
---|---|---|
.. | ||
dmarc-reports | ||
dsn | ||
httpaccount | ||
imap | ||
imaptest | ||
importtest.maildir | ||
integration | ||
junk | ||
message | ||
queue | ||
smtp | ||
store | ||
tlsreports | ||
web | ||
webserver | ||
importtest.maildir.tgz | ||
importtest.mbox | ||
importtest.mbox.zip |