diff --git a/scripts/http_host/nginx_sync/nginx_sync.py b/scripts/http_host/nginx_sync/nginx_sync.py index 89d9996..13a1bb2 100755 --- a/scripts/http_host/nginx_sync/nginx_sync.py +++ b/scripts/http_host/nginx_sync/nginx_sync.py @@ -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;