mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-08 22:47:10 +08:00
Fix https redirects
Signed-off-by: Emil Marklund <emil@btlcomputing.com>
This commit is contained in:
parent
be7d57cf9f
commit
8d0a2d3199
1 changed files with 6 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,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
http://:80 {
|
||||||
|
redir https://{host}{uri}
|
||||||
|
}
|
||||||
|
|
||||||
https://:8443 {
|
https://:8443 {
|
||||||
|
|
||||||
reverse_proxy localhost:8000
|
reverse_proxy localhost:8000
|
||||||
|
|
Loading…
Add table
Reference in a new issue