diff --git a/docs/reverse.rst b/docs/reverse.rst index 8d0dcc8e..7d994980 100644 --- a/docs/reverse.rst +++ b/docs/reverse.rst @@ -59,14 +59,14 @@ Then on your own frontend, point to these local ports. In practice, you only nee REAL_IP_FROM=x.x.x.x,y.y.y.y.y #x.x.x.x,y.y.y.y.y is the static IP address your reverse proxy uses for connecting to Mailu. -Because the admin interface is served as ``/admin``, the Webmail as ``/webmail``, the single sign on page as ``/sso``, webdav as ``/webdav`` and the static files endpoint as ``/static``, you may also want to use a single virtual host and serve other applications (still Nginx): +Because the admin interface is served as ``/admin``, the Webmail as ``/webmail``, the single sign on page as ``/sso``, webdav as ``/webdav``, the client-autoconfiguration and the static files endpoint as ``/static``, you may also want to use a single virtual host and serve other applications (still Nginx): .. code-block:: nginx server { # [...] here goes your standard configuration - location ~ ^/(admin|sso|static|webdav|webmail) { + location ~ ^/(admin|sso|static|webdav|webmail|(apple\.)?mobileconfig|(\.well\-known/autoconfig/)?mail/|Autodiscover/Autodiscover.xml) { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr proxy_pass https://localhost:8443;