From 1cde3bcd0c5f9e0947ced8543b746920920dbb35 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sun, 29 Oct 2017 18:52:26 +0100 Subject: [PATCH] Remove unneeded bits from the http popcon vhost, and enable HSTS --- .../roles/files/popcon/popcon.debian.org.conf | 27 +------------------ 1 file changed, 1 insertion(+), 26 deletions(-) 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 -- 2.20.1