From: Julien Cristau Date: Sun, 29 Oct 2017 17:52:26 +0000 (+0100) Subject: Remove unneeded bits from the http popcon vhost, and enable HSTS X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1cde3bcd0c5f9e0947ced8543b746920920dbb35;p=mirror%2Fdsa-puppet.git Remove unneeded bits from the http popcon vhost, and enable HSTS --- diff --git a/modules/roles/files/popcon/popcon.debian.org.conf b/modules/roles/files/popcon/popcon.debian.org.conf index c589861bc..41fc1ef46 100644 --- a/modules/roles/files/popcon/popcon.debian.org.conf +++ b/modules/roles/files/popcon/popcon.debian.org.conf @@ -6,39 +6,14 @@ ErrorLog /var/log/apache2/popcon.debian.org-error.log CustomLog /var/log/apache2/popcon.debian.org-access.log privacy - DocumentRoot /srv/popcon.debian.org/www - - Require all granted - - - AddDefaultCharset utf-8 ScriptAlias /cgi-bin /srv/popcon.debian.org/cgi-bin/ Require all granted RewriteEngine on - RewriteRule ^/src:([-a-z+.0-9]+)$ https://qa.debian.org/developer.php?popcon=$1 [R,L] - RewriteCond "%{HTTP_USER_AGENT}" !popcon-upload RewriteRule ^(.*) https://popcon.debian.org$1 [R,L] - - #UserDir public_popcon - # - # AddOutputFilterByType DEFLATE text/html text/xml - # - - # - # - # Options +MultiViews - # - # AddHandler fcgid-script .php - # FCGIWrapper /usr/lib/cgi-bin/php5 .php - # - # Options ExecCGI - # - # - # @@ -47,7 +22,7 @@ ServerAdmin popcon-developers@lists.alioth.debian.org Use common-debian-service-ssl popcon.debian.org -# Use common-ssl-HSTS + Use common-ssl-HSTS Use http-pkp-popcon.debian.org ErrorLog /var/log/apache2/popcon.debian.org-error.log