log fixes

This commit is contained in:
Zsolt Ero
2025-10-11 01:10:11 +02:00
parent dfe0a766ed
commit 397f56be9d
3 changed files with 3 additions and 5 deletions

View File

@@ -1,2 +0,0 @@
# once per day
2 34 * * * ofm sudo /usr/bin/bash /data/ofm/http_host/bin/roundrobin_reader.sh >> /data/ofm/http_host/logs/roundrobin_reader.log 2>&1

View File

@@ -23,8 +23,8 @@ server {
ssl_prefer_server_ciphers off;
# access log doesn't contain IP address
access_log off;
#access_log /data/ofm/http_host/logs_nginx/__DOMAIN_SLUG__-access.jsonl access_json buffer=128k;
#access_log off;
access_log /data/ofm/http_host/logs_nginx/__DOMAIN_SLUG__-access.jsonl access_json buffer=128k;
error_log /data/ofm/http_host/logs_nginx/__DOMAIN_SLUG__-error.log;
@@ -55,6 +55,6 @@ server {
# catch-all block to deny all other requests
location / {
deny all;
error_log /data/ofm/http_host/logs_nginx/roundrobin-deny.log error;
error_log /data/ofm/http_host/logs_nginx/__DOMAIN_SLUG__-deny.log error;
}
}