]> git.openstreetmap.org Git - rails.git/blobdiff - config/nginx.conf
Restrict 7 day expiry on /export to just the embed.html page.
[rails.git] / config / nginx.conf
index 366c1e1b29319ce3620e25fa0f353459e9a08ff7..d63b82b6f0fa74610667ee1e0c8ab57a01fd3022 100644 (file)
@@ -192,7 +192,10 @@ http {
         }
             
         # Handle Special Case Expiry
-        location ~ ^/(export|openlayers)/ {
+        location ~ ^/openlayers/ {
+            expires 7d;
+        }
+        location ~ ^/export/embed.html$ {
             expires 7d;
         }
         location ~ ^/(images|javascripts|stylesheets)/ {