Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Set 60s expiry for root URL

Russ Garrettde8063ecfcd4
diff --git a/web/nginx-site.conf b/web/nginx-site.conf
index 11d16c1..5c2218b 100644
--- a/web/nginx-site.conf
+++ b/web/nginx-site.conf
@@ -7,7 +7,7 @@ server {
# Allow CORS for JSON files
location ~ \.json$ {
add_header 'Access-Control-Allow-Origin' '*';
- add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
+ add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
}
location ~ \.js$ {
@@ -27,6 +27,7 @@ server {
}
location / {
+ expires 60s;
index index.html index.htm;
}
}