Fix nginx crash after netinstall

debian 10 netinstall got "server_names_hash_bucket_size" option commented out this fixes it
This commit is contained in:
Yamacore 2021-09-16 20:09:46 +02:00 committed by GitHub
parent 05837dca35
commit b96de9eb13
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 systemctl stop nginx
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'