nextcloud-aio working with nginx
This commit is contained in:
@@ -10,7 +10,9 @@ server {
|
||||
{%- for port in item.0.external.ports +%}
|
||||
listen 127.0.0.1:{{ port }} ssl proxy_protocol;
|
||||
{%- endfor +%}
|
||||
listen 127.0.0.1:80;
|
||||
|
||||
listen 127.0.0.1:80 proxy_protocol;
|
||||
listen 127.0.0.1:81 proxy_protocol;
|
||||
|
||||
if ($scheme = "http") {
|
||||
return 301 https://$host:443$request_uri;
|
||||
|
||||
Reference in New Issue
Block a user