This commit is contained in:
Zsolt Ero
2023-12-29 04:15:06 +01:00
parent af3338fc80
commit 7299002a51
2 changed files with 0 additions and 4 deletions

View File

@@ -34,8 +34,6 @@ def cli():
location /{area}/{version}/ {{ # trailing hash important location /{area}/{version}/ {{ # trailing hash important
alias {subdir}/; # trailing hash important alias {subdir}/; # trailing hash important
try_files $uri @empty; try_files $uri @empty;
autoindex on;
}} }}
""" """

View File

@@ -7,10 +7,8 @@ server {
error_log /data/ofm/http_host/logs_nginx/nginx-error.log; error_log /data/ofm/http_host/logs_nginx/nginx-error.log;
___LOCATION_BLOCKS___ ___LOCATION_BLOCKS___
# we need to handle missing tiles as valid request returning empty string # we need to handle missing tiles as valid request returning empty string
location @empty { location @empty {
default_type application/vnd.mapbox-vector-tile; default_type application/vnd.mapbox-vector-tile;