diff --git a/Documentation/config-reverseproxy.txt b/Documentation/config-reverseproxy.txt index c932c0c49c..0857442fa3 100644 --- a/Documentation/config-reverseproxy.txt +++ b/Documentation/config-reverseproxy.txt @@ -55,7 +55,7 @@ this topic and that you understand the risks. AllowEncodedSlashes NoDecode RewriteEngine On - RewriteRule ^/r/(.*) http://localhost:8081/r/$1 + RewriteRule ^/r/(.*) http://localhost:8081/r/$1 [NE,P] ---- diff --git a/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/container/ConfigurationError.html b/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/container/ConfigurationError.html index a7cd489147..0bc3369211 100644 --- a/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/container/ConfigurationError.html +++ b/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/container/ConfigurationError.html @@ -58,7 +58,7 @@ AllowEncodedSlashes NoDecode RewriteEngine On - RewriteRule ^/r/(.*) http://.../r/$1 + RewriteRule ^/r/(.*) http://.../r/$1 [NE,P] </VirtualHost>