mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
nginx
This commit is contained in:
@@ -34,8 +34,6 @@ def cli():
|
||||
location /{area}/{version}/ {{ # trailing hash important
|
||||
alias {subdir}/; # trailing hash important
|
||||
try_files $uri @empty;
|
||||
|
||||
autoindex on;
|
||||
}}
|
||||
"""
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user