mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-09 07:07:34 +08:00
Merge pull request #670 from Eeemil/fix/https-redirects
Fix https redirects
This commit is contained in:
commit
56b6425f46
1 changed files with 10 additions and 0 deletions
|
@ -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
|
auto_https disable_redirects
|
||||||
|
|
||||||
storage file_system {
|
storage file_system {
|
||||||
|
@ -6,6 +8,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
http://:80 {
|
||||||
|
redir https://{host}{uri}
|
||||||
|
}
|
||||||
|
|
||||||
|
http://:8443 {
|
||||||
|
redir https://{host}:8443{uri}
|
||||||
|
}
|
||||||
|
|
||||||
https://:8443 {
|
https://:8443 {
|
||||||
|
|
||||||
reverse_proxy localhost:8000
|
reverse_proxy localhost:8000
|
||||||
|
|
Loading…
Reference in a new issue