Files
openfreemap/scripts/http_host/nginx_sync/nginx_template.conf
Zsolt Ero 7299002a51 nginx
2023-12-29 04:15:06 +01:00

18 lines
480 B
Plaintext

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 '';
}
}