From 7299002a51e4c9650b85ce5b6392be6d71e96925 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Fri, 29 Dec 2023 04:15:06 +0100 Subject: [PATCH] nginx --- scripts/http_host/nginx_sync/nginx_sync.py | 2 -- scripts/http_host/nginx_sync/nginx_template.conf | 2 -- 2 files changed, 4 deletions(-) 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;