added fix to nginx.conf
This commit is contained in:
parent
7c8c2dc8a7
commit
ba279364e5
@ -208,6 +208,9 @@ cd /app
|
|||||||
export NODE_ENV=development
|
export NODE_ENV=development
|
||||||
runcmd yarn install --network-timeout=30000
|
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
|
# Create NPM service
|
||||||
log "Creating NPM service"
|
log "Creating NPM service"
|
||||||
cat << 'EOF' > /lib/systemd/system/npm.service
|
cat << 'EOF' > /lib/systemd/system/npm.service
|
||||||
|
Loading…
Reference in New Issue
Block a user