mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-09-28 17:44:43 +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
|
||||
|
||||
storage file_system {
|
||||
|
@ -6,6 +8,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
http://:80 {
|
||||
redir https://{host}{uri}
|
||||
}
|
||||
|
||||
https://:8443 {
|
||||
|
||||
reverse_proxy localhost:8000
|
||||
|
|
Loading…
Add table
Reference in a new issue