Restrict 7 day expiry on /export to just the embed.html page.
authorTom Hughes <tom@compton.nu>
Mon, 20 Apr 2009 17:27:12 +0000 (17:27 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 20 Apr 2009 17:27:12 +0000 (17:27 +0000)
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)/ {