syslog-ng: split nginx configuration into conf.d

This commit is contained in:
Daniel Micay 2025-11-08 13:44:23 -05:00
parent 3682298d01
commit c9fae6c345
3 changed files with 23 additions and 21 deletions

View file

@ -16,7 +16,7 @@ for host in ${hosts_web[@]}; do
rsync --chmod=755 session-ticket-keys-create session-ticket-keys-rotate $remote:/usr/local/bin/
rsync -r --delete etc/systemd/system/nginx.service.d/ $remote:/etc/systemd/system/nginx.service.d
rsync etc/syslog-ng/syslog-ng.conf $remote:/etc/syslog-ng/syslog-ng.conf
ssh $remote mkdir -p /etc/syslog-ng/conf.d
rsync -r etc/syslog-ng/conf.d/ $remote:/etc/syslog-ng/conf.d
rsync etc/logrotate.d/nginx $remote:/etc/logrotate.d/nginx
ssh $remote "mkdir -pm755 /var/cache/nginx