Merge pull request #718 from Yamacore/develop

Fix nginx crash after netinstall
This commit is contained in:
Dan 2021-09-17 19:24:24 -07:00 committed by GitHub
commit 4a702b6813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ print_green 'Installing Nginx'
sudo apt install -y nginx sudo apt install -y nginx
sudo systemctl stop nginx sudo systemctl stop nginx
sudo sed -i 's/worker_connections.*/worker_connections 2048;/g' /etc/nginx/nginx.conf sudo sed -i 's/worker_connections.*/worker_connections 2048;/g' /etc/nginx/nginx.conf
sudo sed -i 's/# server_names_hash_bucket_size.*/server_names_hash_bucket_size 64;/g' /etc/nginx/nginx.conf
print_green 'Installing NodeJS' print_green 'Installing NodeJS'