From 7436b45f1a5a8010ec58e40317a558cbf124e9e6 Mon Sep 17 00:00:00 2001 From: Bailetti Tommaso Date: Thu, 14 Nov 2024 09:43:13 +0100 Subject: [PATCH] fix(nginx): using nohostname for logs (#916) --- files/etc/uci-defaults/99-nethsec-nginx | 4 ++-- packages/ns-ui/files/ns-ui | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/etc/uci-defaults/99-nethsec-nginx b/files/etc/uci-defaults/99-nethsec-nginx index dc347d43e..890ed17bb 100644 --- a/files/etc/uci-defaults/99-nethsec-nginx +++ b/files/etc/uci-defaults/99-nethsec-nginx @@ -1,6 +1,6 @@ uci -q batch << EOI -set nginx._lan.error_log=syslog:server=unix:/dev/log -set nginx._lan.access_log=syslog:server=unix:/dev/log +set nginx._lan.error_log=syslog:server=unix:/dev/log,nohostname +set nginx._lan.access_log=syslog:server=unix:/dev/log,nohostname commit nginx EOI diff --git a/packages/ns-ui/files/ns-ui b/packages/ns-ui/files/ns-ui index b4aeaddae..8e7df7dd2 100755 --- a/packages/ns-ui/files/ns-ui +++ b/packages/ns-ui/files/ns-ui @@ -42,8 +42,8 @@ server { ssl_certificate_key $key; ssl_session_cache shared:SSL:32k; ssl_session_timeout 64m; - error_log syslog:server=unix:/dev/log; - access_log syslog:server=unix:/dev/log; + error_log syslog:server=unix:/dev/log,nohostname; + access_log syslog:server=unix:/dev/log,nohostname; # enable NS UI location / {