}
# Placeholder for blocking abuse
- location / {
- allow all;
- }
+ allow all;
# Map api.openstreetmap/0.n/... to api.openstreetmap/api/0.n/...
if ($host ~* api\.(.*)) {
}
# Handle Special Case Expiry
- location ~ ^/(export|openlayers)/ {
+ location ~ ^/openlayers/ {
+ expires 7d;
+ }
+ location ~ ^/export/embed.html$ {
expires 7d;
}
location ~ ^/(images|javascripts|stylesheets)/ {