From: Tom Hughes Date: Mon, 20 Apr 2009 17:27:12 +0000 (+0000) Subject: Restrict 7 day expiry on /export to just the embed.html page. X-Git-Tag: live~7542 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/4dab3b4d33e881217f87c788bd4a816ab757b1ff Restrict 7 day expiry on /export to just the embed.html page. --- diff --git a/config/nginx.conf b/config/nginx.conf index 366c1e1b2..d63b82b6f 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -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)/ {