make sure zst files in /data aren't cached
This commit is contained in:
@@ -29,6 +29,10 @@ location /INSTANCE/data/ {
|
||||
add_header Cache-Control "public, no-cache";
|
||||
add_header Content-Encoding "gzip";
|
||||
}
|
||||
location ~ .*\.zst$ {
|
||||
gzip off;
|
||||
add_header Cache-Control "public, no-cache";
|
||||
}
|
||||
}
|
||||
|
||||
location /INSTANCE/osm_tiles_offline/ {
|
||||
@@ -101,12 +105,12 @@ location /INSTANCE {
|
||||
|
||||
# exact matches
|
||||
location = /INSTANCE/config.js {
|
||||
add_header Cache-Control "public, max-age=0";
|
||||
add_header Cache-Control "public, no-cache";
|
||||
gzip on;
|
||||
gzip_static on;
|
||||
}
|
||||
location = /INSTANCE/index.html {
|
||||
add_header Cache-Control "public, max-age=0";
|
||||
add_header Cache-Control "public, no-cache";
|
||||
gzip on;
|
||||
gzip_static on;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user