Revert "lint"

This reverts commit 6abbb2e571.
This commit is contained in:
Zsolt Ero
2023-12-20 14:20:08 +01:00
parent 6abbb2e571
commit 43186553b2
3 changed files with 69 additions and 79 deletions

View File

@@ -2,6 +2,7 @@
user nginx;
pid /var/run/nginx.pid;
worker_processes auto;
worker_rlimit_nofile 300000; # needs to be < ulimit -n
@@ -66,4 +67,3 @@ http {
include /data/nginx/config/*;
include /data/nginx/sites/*;
}

View File

@@ -1,9 +1,9 @@
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;
@@ -14,14 +14,4 @@ server {
alias /data/ofm/runs/planet_20231208_091355/mnt_rw/extract;
autoindex on; # Enables listing of directory
}
location / {
try_files $uri $uri/ @empty;
}
location @empty {
default_type text/plain; # TODO
return 200 "''";
}
}