]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/stats/templates/default/apache.erb
Drop stats.openstreetmap.org
[chef.git] / cookbooks / stats / templates / default / apache.erb
diff --git a/cookbooks/stats/templates/default/apache.erb b/cookbooks/stats/templates/default/apache.erb
deleted file mode 100644 (file)
index 47a589a..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# DO NOT EDIT - This file is being maintained by Chef
-
-<VirtualHost *:443>
-       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
-
-       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/
-</VirtualHost>
-
-<VirtualHost *:80>
-       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/
-</VirtualHost>
-
-<Directory <%= @directory %>>
-       Options None
-       AllowOverride None
-       Require all granted
-</Directory>
-
-<Directory /var/lib/awstats>
-       Options None
-       AllowOverride None
-       Require all granted
-</Directory>
-
-<Directory /usr/share/awstats/icon>
-       Options None
-       AllowOverride None
-       Require all granted
-</Directory>