Update reverse proxy doc with new /sso endpoint.

master
Dimitri Huisman 3 years ago
parent 503044ef6e
commit 8eabece225

@ -47,7 +47,7 @@ Then on your own frontend, point to these local ports. In practice, you only nee
} }
} }
Because the admin interface is served as ``/admin`` and the Webmail as ``/webmail`` 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`` and webdav as ``/webdav``, you may also want to use a single virtual host and serve other applications (still Nginx):
.. code-block:: nginx .. code-block:: nginx
@ -63,6 +63,16 @@ Because the admin interface is served as ``/admin`` and the Webmail as ``/webmai
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
} }
location /sso {
proxy_pass https://localhost:8443/sso;
proxy_set_header Host $http_host;
}
location /webdav {
proxy_pass https://localhost:8443/webdav;
proxy_set_header Host $http_host;
}
location /main_app { location /main_app {
proxy_pass https://some-host; proxy_pass https://some-host;
} }

Loading…
Cancel
Save