From ba279364e5fd6b6e7caefeb6c8f40a0551e789ef Mon Sep 17 00:00:00 2001 From: Alexis <45032998+Alexis-BX@users.noreply.github.com> Date: Tue, 13 Jun 2023 00:40:45 -0400 Subject: [PATCH] added fix to nginx.conf --- lxc/nginx-proxy-manager/install/debian.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lxc/nginx-proxy-manager/install/debian.sh b/lxc/nginx-proxy-manager/install/debian.sh index 709108c..f611ae8 100644 --- a/lxc/nginx-proxy-manager/install/debian.sh +++ b/lxc/nginx-proxy-manager/install/debian.sh @@ -208,6 +208,9 @@ cd /app export NODE_ENV=development runcmd yarn install --network-timeout=30000 +sudo sed -i 's/^pid/# pid/' /usr/local/openresty/nginx/conf/nginx.conf +sudo sed -i 's/^user npm/user root/' /usr/local/openresty/nginx/conf/nginx.conf + # Create NPM service log "Creating NPM service" cat << 'EOF' > /lib/systemd/system/npm.service