From: Tom Hughes Date: Tue, 13 Aug 2013 09:07:01 +0000 (+0100) Subject: Add render.openstreetmap.org as an alias on render servers X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/294adb0cb8e908dc374de0b63328538a0b568896?hp=05dc3656cc318d5f690b2b7812af355d3ccaa2d1 Add render.openstreetmap.org as an alias on render servers --- diff --git a/cookbooks/tile/templates/default/apache.erb b/cookbooks/tile/templates/default/apache.erb index ac4ba8f12..4fdb67b8d 100644 --- a/cookbooks/tile/templates/default/apache.erb +++ b/cookbooks/tile/templates/default/apache.erb @@ -4,6 +4,8 @@ # Basic server configuration ServerName <%= node[:fqdn] %> ServerAlias tile.openstreetmap.org + ServerAlias render.openstreetmap.org + ServerAlias *.render.openstreetmap.org ServerAlias parent.tile.openstreetmap.org ServerAdmin webmaster@openstreetmap.org @@ -24,7 +26,7 @@ ErrorLog /var/log/apache2/error.log BufferedLogs on - #Set Access-Control-Allow-Origin header to allow Cross-origin resource sharing (CORS) + # Set Access-Control-Allow-Origin header to allow Cross-origin resource sharing (CORS) Header set Access-Control-Allow-Origin "*" # Enable the rewrite engine @@ -39,7 +41,6 @@ Redirect /processed_p.tar.bz2 http://planet.openstreetmap.org/historical-shapefiles/processed_p.tar.bz2 Redirect /shoreline_300.tar.bz2 http://planet.openstreetmap.org/historical-shapefiles/shoreline_300.tar.bz2 Redirect /world_boundaries-spherical.tgz http://planet.openstreetmap.org/historical-shapefiles/world_boundaries-spherical.tgz -