nextcloud-aio working with nginx

This commit is contained in:
2024-05-29 09:25:31 -04:00
parent 3cf600b048
commit a853df3cbc
2 changed files with 14 additions and 1 deletions

View File

@@ -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;