From b514bac187a8d4c1ce913e0695ff3c447d46a4c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Fri, 5 Nov 2021 08:52:06 +0100 Subject: [PATCH] Enhance description of Apache proxy config --- docs/en/administration/reverse-proxies.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/en/administration/reverse-proxies.md b/docs/en/administration/reverse-proxies.md index 792fb9b13c..47a6597e13 100644 --- a/docs/en/administration/reverse-proxies.md +++ b/docs/en/administration/reverse-proxies.md @@ -26,6 +26,9 @@ location /scm { ## Apache +If you use `VirtualHost` sections, please make sure to put the directives `AllowEncodedSlashes`, `RequestHeader`, +`ProxyPass`, and `ProxyPassReverse` into the same section as the `Location` for SCM-Manager. + ```apacheconf # Ensure mod_proxy and mod_proxy_http modules are loaded LoadModule proxy_module modules/mod_proxy.so @@ -41,7 +44,6 @@ RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS} # assuming scm-manager is running on localhost at port 8080 ProxyPass /scm http://localhost:8080/scm nocanon ProxyPassReverse /scm http://localhost:8080/scm -ProxyPassReverse /scm http://localhost:8080/scm Order allow,deny