Adding missing semicolon after remote_addr

master
spomata 3 years ago committed by GitHub
parent c15e4e6015
commit 00b78b7350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,7 +47,7 @@ Then on your own frontend, point to these local ports. In practice, you only nee
location / { location / {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr proxy_set_header X-Real-IP $remote_addr;
proxy_pass https://localhost:8443; proxy_pass https://localhost:8443;
} }
} }
@ -68,7 +68,7 @@ Because the admin interface is served as ``/admin``, the Webmail as ``/webmail``
location ~* ^/(admin|sso|static|webdav|webmail|(apple\.)?mobileconfig|(\.well\-known/autoconfig/)?mail/|Autodiscover/Autodiscover) { location ~* ^/(admin|sso|static|webdav|webmail|(apple\.)?mobileconfig|(\.well\-known/autoconfig/)?mail/|Autodiscover/Autodiscover) {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr proxy_set_header X-Real-IP $remote_addr;
proxy_pass https://localhost:8443; proxy_pass https://localhost:8443;
} }
@ -111,7 +111,7 @@ Here is an example configuration :
location /webmail { location /webmail {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr proxy_set_header X-Real-IP $remote_addr;
proxy_pass https://localhost:8443/webmail; proxy_pass https://localhost:8443/webmail;
} }
} }
@ -123,7 +123,7 @@ Here is an example configuration :
location /admin { location /admin {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr proxy_set_header X-Real-IP $remote_addr;
proxy_pass https://localhost:8443/admin; proxy_pass https://localhost:8443/admin;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
} }

Loading…
Cancel
Save