Skip to content

Commit

Permalink
fix(nginx): using nohostname for logs (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile authored Nov 14, 2024
1 parent 7bb7131 commit 7436b45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions files/etc/uci-defaults/99-nethsec-nginx
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions packages/ns-ui/files/ns-ui
Original file line number Diff line number Diff line change
Expand Up @@ -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 / {
Expand Down

0 comments on commit 7436b45

Please sign in to comment.