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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user