added fix to nginx.conf

This commit is contained in:
Alexis 2023-06-13 00:40:45 -04:00 committed by GitHub
parent 7c8c2dc8a7
commit ba279364e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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