Update nginx-proxy-manager

Fix: Nginx was not restarted correctly
This commit is contained in:
CoffeeCHN 2024-08-20 15:29:42 +08:00 committed by GitHub
parent 35d7a3a407
commit f4834a8964
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@
compress compress
sharedscripts sharedscripts
postrotate postrotate
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true kill -USR1 `cat /run/nginx/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript endscript
} }
@ -22,6 +22,6 @@
compress compress
sharedscripts sharedscripts
postrotate postrotate
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true kill -USR1 `cat /run/nginx/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript endscript
} }