Merge pull request #670 from Eeemil/fix/https-redirects

Fix https redirects
This commit is contained in:
Simon L
2022-05-24 19:08:55 +02:00
committed by GitHub

View File

@@ -1,4 +1,6 @@
{
# auto_https will create redirects for https://{host}:8443 instead of https://{host}
# https redirects are added manually in the http://:80 block
auto_https disable_redirects
storage file_system {
@@ -6,6 +8,14 @@
}
}
http://:80 {
redir https://{host}{uri}
}
http://:8443 {
redir https://{host}:8443{uri}
}
https://:8443 {
reverse_proxy localhost:8000