fix(nginx): drop hostname from journald syslog targets
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/puppet-lint Pipeline was successful
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/erb-validate Pipeline was successful
ci/woodpecker/pr/epp-validate Pipeline was successful
ci/woodpecker/pr/puppet-validate Pipeline was successful
ci/woodpecker/pr/ruby-check Pipeline was successful

This commit is contained in:
2026-11-24 22:14:30 +11:00
parent 89bd97048e
commit 6fc27ae8fe
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -408,10 +408,10 @@ nginx::log_format:
journald: '$host $remote_addr - $remote_user "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" rt=$request_time ua="$upstream_addr" us="$upstream_status" urt="$upstream_response_time"'
nginx::http_access_log:
- /var/log/nginx/access.log
- 'syslog:server=unix:/dev/log,tag=nginx_access journald'
- 'syslog:server=unix:/dev/log,tag=nginx_access,nohostname journald'
nginx::nginx_error_log:
- /var/log/nginx/error.log
- 'syslog:server=unix:/dev/log,tag=nginx'
- 'syslog:server=unix:/dev/log,tag=nginx,nohostname'
# FIXME these are for the proxmox ceph cluster
profiles::ceph::client::fsid: 7f7f00cb-95de-498c-8dcc-14b54e4e9ca8