mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-22 14:32:15 +00:00
nginx logs
This commit is contained in:
@@ -23,8 +23,8 @@ server {
|
|||||||
ssl_prefer_server_ciphers off;
|
ssl_prefer_server_ciphers off;
|
||||||
|
|
||||||
# access log disabled by default
|
# access log disabled by default
|
||||||
access_log /data/ofm/http_host/logs_nginx/le-access.jsonl access_json buffer=32k;
|
#access_log /data/ofm/http_host/logs_nginx/le-access.jsonl access_json buffer=32k;
|
||||||
#access_log off;
|
access_log off;
|
||||||
|
|
||||||
error_log /data/ofm/http_host/logs_nginx/le-error.log;
|
error_log /data/ofm/http_host/logs_nginx/le-error.log;
|
||||||
|
|
||||||
@@ -39,6 +39,6 @@ server {
|
|||||||
# catch-all block to deny all other requests
|
# catch-all block to deny all other requests
|
||||||
location / {
|
location / {
|
||||||
deny all;
|
deny all;
|
||||||
error_log /data/ofm/http_host/logs_nginx/__LOCAL__-error.log error;
|
error_log /data/ofm/http_host/logs_nginx/le-deny.log error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ server {
|
|||||||
ssl_prefer_server_ciphers off;
|
ssl_prefer_server_ciphers off;
|
||||||
|
|
||||||
# access log disabled by default
|
# access log disabled by default
|
||||||
access_log /data/ofm/http_host/logs_nginx/ledns-access.jsonl access_json buffer=32k;
|
#access_log /data/ofm/http_host/logs_nginx/ledns-access.jsonl access_json buffer=32k;
|
||||||
#access_log off;
|
access_log off;
|
||||||
|
|
||||||
error_log /data/ofm/http_host/logs_nginx/ledns-error.log;
|
error_log /data/ofm/http_host/logs_nginx/ledns-error.log;
|
||||||
|
|
||||||
@@ -33,6 +33,6 @@ server {
|
|||||||
# catch-all block to deny all other requests
|
# catch-all block to deny all other requests
|
||||||
location / {
|
location / {
|
||||||
deny all;
|
deny all;
|
||||||
error_log /data/ofm/http_host/logs_nginx/__LOCAL__-error.log error;
|
error_log /data/ofm/http_host/logs_nginx/ledns-deny.log error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user