From 1b28adfb775aea0a00ebf02a26ad26b6f42bc44a Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Wed, 11 Sep 2024 10:48:42 +0200 Subject: [PATCH] access log --- modules/http_host/http_host_lib/nginx_confs/le.conf | 3 ++- modules/http_host/http_host_lib/nginx_confs/ledns.conf | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/http_host/http_host_lib/nginx_confs/le.conf b/modules/http_host/http_host_lib/nginx_confs/le.conf index 1abd2b3..a587e1f 100644 --- a/modules/http_host/http_host_lib/nginx_confs/le.conf +++ b/modules/http_host/http_host_lib/nginx_confs/le.conf @@ -22,7 +22,8 @@ server { ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305; ssl_prefer_server_ciphers off; - # access log disabled by default + # access log doesn't contain IP address + # disabled by default #access_log /data/ofm/http_host/logs_nginx/le-access.jsonl access_json buffer=32k; access_log off; diff --git a/modules/http_host/http_host_lib/nginx_confs/ledns.conf b/modules/http_host/http_host_lib/nginx_confs/ledns.conf index 1176ab3..67fc295 100644 --- a/modules/http_host/http_host_lib/nginx_confs/ledns.conf +++ b/modules/http_host/http_host_lib/nginx_confs/ledns.conf @@ -22,9 +22,10 @@ server { ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305; ssl_prefer_server_ciphers off; - # access log disabled by default - access_log /data/ofm/http_host/logs_nginx/ledns-access.jsonl access_json buffer=32k; - #access_log off; + # access log doesn't contain IP address + # disabled by default + #access_log /data/ofm/http_host/logs_nginx/ledns-access.jsonl access_json buffer=32k; + access_log off; error_log /data/ofm/http_host/logs_nginx/ledns-error.log;