diff --git a/scripts/http_host/nginx_sync/nginx_sync.py b/scripts/http_host/nginx_sync/nginx_sync.py index b6cf9be..8663da0 100755 --- a/scripts/http_host/nginx_sync/nginx_sync.py +++ b/scripts/http_host/nginx_sync/nginx_sync.py @@ -34,8 +34,6 @@ def cli(): location /{area}/{version}/ {{ # trailing hash important alias {subdir}/; # trailing hash important try_files $uri @empty; - - autoindex on; }} """ diff --git a/scripts/http_host/nginx_sync/nginx_template.conf b/scripts/http_host/nginx_sync/nginx_template.conf index 69d7e38..d943c43 100644 --- a/scripts/http_host/nginx_sync/nginx_template.conf +++ b/scripts/http_host/nginx_sync/nginx_template.conf @@ -7,10 +7,8 @@ server { error_log /data/ofm/http_host/logs_nginx/nginx-error.log; - ___LOCATION_BLOCKS___ - # we need to handle missing tiles as valid request returning empty string location @empty { default_type application/vnd.mapbox-vector-tile;