1 Use common-debian-service-https-redirect * dyn.manpages.debian.org
4 ServerName dyn.manpages.debian.org
5 ServerAdmin debian-admin@lists.debian.org
7 Use common-debian-service-ssl dyn.manpages.debian.org
9 Use http-pkp-dyn.manpages.debian.org
11 ErrorLog /var/log/apache2/dyn.manpages.debian.org-error.log
12 CustomLog /var/log/apache2/dyn.manpages.debian.org-access.log privacy
14 # URLs which end in a slash do not need to be rewritten
16 RewriteRule ^(.*/)$ "https://manpages.debian.org$1" [R=307,L]
18 # Redirect fully qualified URLs to the correct host.
19 RewriteCond "/srv/manpages.debian.org/www/%{REQUEST_FILENAME}" "-f" [OR]
20 RewriteCond "/srv/manpages.debian.org/www/%{REQUEST_FILENAME}.gz" "-f"
21 RewriteRule "^/(.*)" "https://manpages.debian.org/$1" [R=307,L]
23 # Use the correct host in redirects
24 Header edit Location "^/" "https://manpages.debian.org/"
27 ProxyPass "http://localhost:2431/"
28 ProxyPassReverse "http://localhost:2431/"