This commit is contained in:
Zsolt Ero
2023-12-29 04:18:46 +01:00
parent 7299002a51
commit f84b4f6e3d
2 changed files with 6 additions and 0 deletions

View File

@@ -34,6 +34,9 @@ def cli():
location /{area}/{version}/ {{ # trailing hash important
alias {subdir}/; # trailing hash important
try_files $uri @empty;
add_header Cache-Control public;
expires 10y;
}}
"""

View File

@@ -13,5 +13,8 @@ server {
location @empty {
default_type application/vnd.mapbox-vector-tile;
return 200 '';
add_header Cache-Control public;
expires 10y;
}
}