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;

View File

@@ -128,3 +128,14 @@ http:
ip: 192.168.1.254
port: 80
protocol: http
- external:
domains:
- nextcloud-aio.reeseapps.com
- nextcloud-aio.reeselink.com
ports:
- 443
- 444
internal:
ip: 10.1.175.237
port: 11000
protocol: http