Don't redirect 127.0.0.1 as doing so can break munin
authorTom Hughes <tom@compton.nu>
Fri, 6 Jan 2017 18:30:59 +0000 (18:30 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 6 Jan 2017 18:30:59 +0000 (18:30 +0000)
cookbooks/web/templates/default/apache.frontend.erb

index 717d3f69b6156d7a8440e5675540dddc8b02a380..ceaf4874b32fc0ca2e38c648f5e4ef4acf03b226 100644 (file)
@@ -6,7 +6,7 @@
   # Basic server configuration
   #
   ServerName <%= node[:fqdn] %>
-  ServerAlias api.openstreetmap.org www.openstreetmap.org
+  ServerAlias api.openstreetmap.org www.openstreetmap.org 127.0.0.1
   ServerAdmin webmaster@openstreetmap.org
 <% if port == 443 -%>