From ab40d03cc6c7fe6c29c3678595d333602865418b Mon Sep 17 00:00:00 2001 From: ofthesun9 Date: Sat, 28 Mar 2020 08:39:12 +0100 Subject: [PATCH] Doc update: proxy_set_header required for admin Copy Paste of an existing PR whose upstream branch is gone Fix #1318 --- docs/reverse.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/reverse.rst b/docs/reverse.rst index e46f3745..9a7a7dc0 100644 --- a/docs/reverse.rst +++ b/docs/reverse.rst @@ -61,6 +61,7 @@ Because the admin interface is served as ``/admin`` and the Webmail as ``/webmai location /admin { proxy_pass https://localhost:8443/admin; + proxy_set_header Host $http_host; } location /main_app { @@ -103,6 +104,7 @@ Here is an example configuration : location /admin { proxy_pass https://localhost:8443/admin; + proxy_set_header Host $http_host; } }