From 8eabece225b2a424a59de412d714946edad561a3 Mon Sep 17 00:00:00 2001 From: Dimitri Huisman Date: Thu, 28 Oct 2021 13:56:08 +0000 Subject: [PATCH] Update reverse proxy doc with new /sso endpoint. --- docs/reverse.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/reverse.rst b/docs/reverse.rst index 14a9154e..2c83acec 100644 --- a/docs/reverse.rst +++ b/docs/reverse.rst @@ -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 @@ -63,6 +63,16 @@ Because the admin interface is served as ``/admin`` and the Webmail as ``/webmai 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 { proxy_pass https://some-host; }