mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
nginx json
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user