X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..0ef6aafef4b54ce79fe84eb44ff058f37e807d74:/cookbooks/piwik/templates/default/apache.erb?ds=inline diff --git a/cookbooks/piwik/templates/default/apache.erb b/cookbooks/piwik/templates/default/apache.erb index 522935880..226a3211e 100644 --- a/cookbooks/piwik/templates/default/apache.erb +++ b/cookbooks/piwik/templates/default/apache.erb @@ -8,7 +8,10 @@ CustomLog /var/log/apache2/piwik.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log + Options -Indexes + DocumentRoot /srv/piwik.openstreetmap.org + RedirectPermanent /index.php https://piwik.openstreetmap.org/index.php @@ -16,13 +19,15 @@ ServerAdmin webmaster@openstreetmap.org SSLEngine on - SSLProtocol all -SSLv2 - SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW - SSLCertificateFile /etc/ssl/certs/openstreetmap.pem - SSLCertificateKeyFile /etc/ssl/private/openstreetmap.key CustomLog /var/log/apache2/piwik.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log + Options -Indexes + DocumentRoot /srv/piwik.openstreetmap.org + + + Require all granted +