Small refactor of user/groups and add checks during startup. Only use -x in bash scripts when DEBUG=true set in env vars

This commit is contained in:
Jamie Curnow
2023-05-04 10:03:06 +10:00
parent a1245bc161
commit c432c34fb3
14 changed files with 70 additions and 45 deletions

View File

@ -1,7 +1,7 @@
# run nginx in foreground
daemon off;
pid /run/nginx/nginx.pid;
user npmuser;
user npm;
# Set number of worker processes automatically based on number of CPU cores.
worker_processes auto;