From 4dab3b4d33e881217f87c788bd4a816ab757b1ff Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 20 Apr 2009 17:27:12 +0000 Subject: [PATCH] Restrict 7 day expiry on /export to just the embed.html page. --- config/nginx.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)/ { -- 2.43.2