From 4ddddaa2fa2acaf25a8d128f5abff5bd79a01f7d Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 25 Jan 2018 22:40:42 +0100 Subject: [PATCH] do proxypass for pages --- .../salsa/templates/apache-pages.debian.net.conf.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/salsa/templates/apache-pages.debian.net.conf.erb b/modules/salsa/templates/apache-pages.debian.net.conf.erb index aab039fb6..09a5593a7 100644 --- a/modules/salsa/templates/apache-pages.debian.net.conf.erb +++ b/modules/salsa/templates/apache-pages.debian.net.conf.erb @@ -20,19 +20,19 @@ Use common-debian-service-https-redirect * pages.debian.net ProxyPreserveHost On AllowEncodedSlashes NoDecode + ProxyPass / http://127.0.0.1:8080/ retry=10 nocanon ProxyPassReverse / http://127.0.0.1:8090/ - #ProxyPassReverse / http://salsa.debian.org/ - RewriteEngine on + #RewriteEngine on #RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f [OR] #RewriteCond %{REQUEST_URI} ^/uploads/.* - RewriteRule .* http://127.0.0.1:8090%{REQUEST_URI} [P,QSA,NE] + #RewriteRule .* http://127.0.0.1:8090%{REQUEST_URI} [P,QSA,NE] #RequestHeader set X_FORWARDED_PROTO 'https' #RequestHeader set X-Forwarded-Ssl on - ErrorDocument 403 /403.html - ErrorDocument 404 /404.html + #ErrorDocument 403 /403.html + #ErrorDocument 404 /404.html #ErrorDocument 422 /422.html #ErrorDocument 500 /500.html #ErrorDocument 502 /502.html -- 2.20.1