From 397f56be9d9a1448286d67447176c3f527ee4344 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Sat, 11 Oct 2025 01:10:11 +0200 Subject: [PATCH] log fixes --- modules/http_host/cron.d/ofm_roundrobin_reader | 2 -- .../nginx_templates/{letsencrypt.conf => _letsencrypt.conf} | 0 modules/http_host/http_host_lib/nginx_templates/common.conf | 6 +++--- 3 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 modules/http_host/cron.d/ofm_roundrobin_reader rename modules/http_host/http_host_lib/nginx_templates/{letsencrypt.conf => _letsencrypt.conf} (100%) diff --git a/modules/http_host/cron.d/ofm_roundrobin_reader b/modules/http_host/cron.d/ofm_roundrobin_reader deleted file mode 100644 index 74f0b57..0000000 --- a/modules/http_host/cron.d/ofm_roundrobin_reader +++ /dev/null @@ -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 diff --git a/modules/http_host/http_host_lib/nginx_templates/letsencrypt.conf b/modules/http_host/http_host_lib/nginx_templates/_letsencrypt.conf similarity index 100% rename from modules/http_host/http_host_lib/nginx_templates/letsencrypt.conf rename to modules/http_host/http_host_lib/nginx_templates/_letsencrypt.conf diff --git a/modules/http_host/http_host_lib/nginx_templates/common.conf b/modules/http_host/http_host_lib/nginx_templates/common.conf index 4001b6f..8aa27d1 100644 --- a/modules/http_host/http_host_lib/nginx_templates/common.conf +++ b/modules/http_host/http_host_lib/nginx_templates/common.conf @@ -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; } }