diff --git a/doc/tls-proxy-apache.md b/doc/tls-proxy-apache.md index 2f8cc4a..974e5e1 100644 --- a/doc/tls-proxy-apache.md +++ b/doc/tls-proxy-apache.md @@ -78,6 +78,7 @@ RewriteCond %{HTTP:Upgrade} !=websocket [NC] RewriteRule /(.*) http://127.0.0.1:8080/$1 [P,L] + ProxyRequests Off # There is no ProxyPass directive ! It is handled by the second RewriteCond ProxyPassReverse / http://127.0.0.1:8080/ diff --git a/lib/config-seed/apache-le-ssl.conf b/lib/config-seed/apache-le-ssl.conf index 61f51e3..b6e3a02 100644 --- a/lib/config-seed/apache-le-ssl.conf +++ b/lib/config-seed/apache-le-ssl.conf @@ -29,6 +29,7 @@ RewriteRule /(.*) http://127.0.0.1:8080/$1 [P,L] + ProxyRequests Off ProxyPassReverse / http://127.0.0.1:8080/