When running npm with a custom user:
enviroment:
- PUID=1000
- PGID=1000
Warn occur when processing the nginx.conf file, and this warn is logged at fallback_error.log:
2023/10/02 19:47:29 [warn] 158#158: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:4
I think it would be a better solution to not include the user command in nginx.conf if you have defined the PUID environment variable.