Files
openfreemap/scripts/http_host/nginx_site.conf
Zsolt Ero a960d4de8d nginxfmt
2023-12-20 14:25:11 +01:00

18 lines
474 B
Plaintext

server {
server_name ofm tiles.openfreemaps.org;
# test with
# curl -H "Host: ofm" http://localhost/planet/20231208_091355/tiles/11/637/1141.pbf
#access_log /data/ofm/logs/nginx-access.log access_json;
access_log off;
error_log /data/ofm/logs/nginx-error.log;
location /planet/20231208_091355 {
gzip off;
alias /data/ofm/runs/planet_20231208_091355/mnt_rw/extract;
autoindex on; # Enables listing of directory
}
}