X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsalsa%2Ftemplates%2Fapache-pages.debian.net.conf.erb;h=0f849ed0ad069c95cacde0c982ff41358c5a60c3;hb=008e94cf18c557dc199f2286f282e111e846b615;hp=a39f4d69f8bfa9a17bf613c729632cbd0664d040;hpb=35be420f1c3287c816a8e05e395e145dc84b78fb;p=mirror%2Fdsa-puppet.git diff --git a/modules/salsa/templates/apache-pages.debian.net.conf.erb b/modules/salsa/templates/apache-pages.debian.net.conf.erb index a39f4d69f..0f849ed0a 100644 --- a/modules/salsa/templates/apache-pages.debian.net.conf.erb +++ b/modules/salsa/templates/apache-pages.debian.net.conf.erb @@ -1,4 +1,14 @@ -Use common-debian-service-https-redirect * pages.debian.net + + 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