nginx_template

This commit is contained in:
Zsolt Ero
2023-12-29 03:49:48 +01:00
parent 4b5cc59c70
commit 3766db7df8
3 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
server {
server_name ofm tiles.openfreemaps.org;
# disabling access log by default
# access_log /data/ofm/http_host/logs_nginx/nginx-access.log access_json buffer=32k;
access_log off;
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;
return 200 '';
}
}