ProxyPass everything so we can set nocanon (re: RT#7057)
authorPeter Palfrader <peter@palfrader.org>
Thu, 25 Jan 2018 20:49:40 +0000 (21:49 +0100)
committerPeter Palfrader <peter@palfrader.org>
Thu, 25 Jan 2018 20:50:02 +0000 (21:50 +0100)
modules/salsa/templates/apache-salsa.debian.org.conf.erb

index 176db7e..2b2ab6c 100644 (file)
@@ -19,13 +19,14 @@ Use common-debian-service-https-redirect * salsa.debian.org
        ProxyPreserveHost On
        AllowEncodedSlashes NoDecode
 
+       ProxyPass / http://127.0.0.1:8181/ retry=10 nocanon
        ProxyPassReverse / http://127.0.0.1:8181/
        ProxyPassReverse / http://salsa.debian.org/
 
-       RewriteEngine on
-       RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f [OR]
-       RewriteCond %{REQUEST_URI} ^/uploads/.*
-       RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
+       #RewriteEngine on
+       #RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f [OR]
+       #RewriteCond %{REQUEST_URI} ^/uploads/.*
+       #RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
 
        RequestHeader set X_FORWARDED_PROTO 'https'
        RequestHeader set X-Forwarded-Ssl on