Update 'NGINX-Installer.sh'

This commit is contained in:
tbergervoet
2018-10-15 14:17:01 +02:00
parent b5df0430c1
commit be8d55997c

View File

@@ -32,6 +32,11 @@ mysql -u root -p"$password" -e "SELECT user,authentication_string,plugin,host FR
cat <<EOF > /etc/nginx/sites-available/"$domain"
fastcgi_cache_path /etc/nginx/cache levels=1:2 keys_zone=MYAPP:100m max_size=10g inactive=1440m;
upstream netdata {
server 127.0.0.1:19999;
keepalive 64;
}
server {
listen 80;
listen [::]:80;
@@ -120,11 +125,6 @@ worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
upstream netdata {
server 127.0.0.1:19999;
keepalive 64;
}
events {
worker_connections 1024;
}