X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a0cc3b39962e5921f7a79ea35e2591e163148714..e88020178b6617b163bafb500a6cf2d1ab79428d:/cookbooks/stats/templates/default/apache.erb diff --git a/cookbooks/stats/templates/default/apache.erb b/cookbooks/stats/templates/default/apache.erb index 328b89b78..47a589afd 100644 --- a/cookbooks/stats/templates/default/apache.erb +++ b/cookbooks/stats/templates/default/apache.erb @@ -1,6 +1,6 @@ # DO NOT EDIT - This file is being maintained by Chef - + ServerName stats.openstreetmap.org ServerAlias stats.osm.org ServerAdmin webmaster@openstreetmap.org @@ -8,21 +8,41 @@ CustomLog /var/log/apache2/stats.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/stats.openstreetmap.org-error.log + SSLEngine on + SSLCertificateFile /etc/ssl/certs/stats.openstreetmap.org.pem + SSLCertificateKeyFile /etc/ssl/private/stats.openstreetmap.org.key + DocumentRoot <%= @directory %> Alias /awstats-icon/ /usr/share/awstats/icon/ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ + + ServerName stats.openstreetmap.org + ServerAlias stats.osm.org + ServerAdmin webmaster@openstreetmap.org + + CustomLog /var/log/apache2/stats.openstreetmap.org-access.log combined + ErrorLog /var/log/apache2/stats.openstreetmap.org-error.log + + RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ + RedirectPermanent / https://stats.openstreetmap.org/ + + +> + Options None + AllowOverride None + Require all granted + + Options None AllowOverride None - Order allow,deny - Allow from all + Require all granted Options None AllowOverride None - Order allow,deny - Allow from all + Require all granted