1 Use common-debian-service-https-redirect * salsa.debian.org
4 ServerName salsa.debian.org
5 ServerAdmin debian-admin@lists.debian.org
7 Use common-debian-service-ssl salsa.debian.org
9 Use http-pkp-salsa.debian.org
11 ErrorLog /var/log/apache2/salsa.debian.org-error.log
12 CustomLog /var/log/apache2/salsa.debian.org-access.log privacy
14 DocumentRoot /srv/salsa.debian.org/gitlab/public
15 <Directory /srv/salsa.debian.org/gitlab/public>
20 AllowEncodedSlashes NoDecode
22 ProxyPass / http://127.0.0.1:8181/ retry=10 nocanon
23 ProxyPassReverse / http://127.0.0.1:8181/
24 ProxyPassReverse / http://salsa.debian.org/
27 #RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f [OR]
28 #RewriteCond %{REQUEST_URI} ^/uploads/.*
29 #RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
31 RequestHeader set X_FORWARDED_PROTO 'https'
32 RequestHeader set X-Forwarded-Ssl on
34 ErrorDocument 404 /404.html
35 ErrorDocument 422 /422.html
36 ErrorDocument 500 /500.html
37 ErrorDocument 502 /502.html
38 ErrorDocument 503 /503.html