]> git.openstreetmap.org Git - chef.git/commitdiff
Allow access to old 404 map tile
authorGrant Slater <git@firefishy.com>
Wed, 22 Jul 2020 17:19:26 +0000 (18:19 +0100)
committerGrant Slater <git@firefishy.com>
Wed, 22 Jul 2020 17:19:26 +0000 (18:19 +0100)
cookbooks/web/templates/default/apache.frontend.erb

index 12beede35b1fead683cdb490f11cf9322e97c6a3..95cb96fe102de2ed86e1b2da1c9fddba99f6cb22 100644 (file)
   RewriteRule . - [F,L]
 
   #
   RewriteRule . - [F,L]
 
   #
-  # Block requests for the old 404 map tile
-  # and force cache headers on response
+  # Force extended cache headers on the old 404 map tile
   #
   <Location /openlayers/img/404.png>
     Header always set Cache-Control "public, max-age=31536000, immutable"
     Header always set Expires "Tue, 19 Jan 2038 03:14:07 GMT"
   #
   <Location /openlayers/img/404.png>
     Header always set Cache-Control "public, max-age=31536000, immutable"
     Header always set Expires "Tue, 19 Jan 2038 03:14:07 GMT"
-    RewriteRule ^ - [G,L]
   </Location>
 
   #
   </Location>
 
   #