nginx json

This commit is contained in:
Zsolt Ero
2023-12-30 20:24:45 +01:00
parent 35476acf02
commit 3081e428bf

View File

@@ -61,7 +61,8 @@ def cli():
version_str = rf"""
location /{area}/{version} {{ # no trailing hash
alias {tilejson_path}; # no trailing hash
alias {tilejson_path}; # no trailing hash\
default_type application/json;
add_header 'Access-Control-Allow-Origin' '*' always;
add_header Cache-Control public;