mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-14 14:18:35 +00:00
When /run/nginx is already owned by PUID:PGID, the ownership step skips it, so a leftover nginx.pid owned by root stays in place and nginx, running as PUID:PGID, fails with "Permission denied" on every start. Nginx is not running yet during prepare, so remove the pid file there. Fixes #5964 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>