|
|
|
@ -47,7 +47,7 @@ Then on your own frontend, point to these local ports. In practice, you only nee
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -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) {
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -111,7 +111,7 @@ Here is an example configuration :
|
|
|
|
|
|
|
|
|
|
location /webmail {
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -123,7 +123,7 @@ Here is an example configuration :
|
|
|
|
|
|
|
|
|
|
location /admin {
|
|
|
|
|
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_set_header Host $http_host;
|
|
|
|
|
}
|
|
|
|
|