ServerName pages.debian.net
ServerAlias *.pages.debian.net
ServerAdmin debian-admin@lists.debian.org
CustomLog /var/log/apache2/pages.debian.net-access.log privacy
ErrorLog /var/log/apache2/pages.debian.net-error.log
RewriteEngine On
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
ServerName pages.debian.net
ServerAlias *.pages.debian.net
ServerAdmin debian-admin@lists.debian.org
Use common-debian-service-ssl pages.debian.net
Use common-ssl-HSTS
Use http-pkp-pages.debian.net
ErrorLog /var/log/apache2/pages.debian.net-error.log
CustomLog /var/log/apache2/pages.debian.net-access.log privacy
#DocumentRoot /srv/salsa.debian.org/gitlab/public
#
# Require all granted
#
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
ProxyPass / http://127.0.0.1:9080/ retry=10 nocanon
ProxyPassReverse / http://127.0.0.1:9080/
#RewriteEngine on
#RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f [OR]
#RewriteCond %{REQUEST_URI} ^/uploads/.*
#RewriteRule .* http://127.0.0.1:9080%{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 422 /422.html
#ErrorDocument 500 /500.html
#ErrorDocument 502 /502.html
#ErrorDocument 503 /503.html
# vim:set syn=apache: