From be8d55997cac9b55a0db03eb9d79c50cedfcb96a Mon Sep 17 00:00:00 2001 From: tbergervoet Date: Mon, 15 Oct 2018 14:17:01 +0200 Subject: [PATCH] Update 'NGINX-Installer.sh' --- NGINX-Installer.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/NGINX-Installer.sh b/NGINX-Installer.sh index cb37f9b..0768068 100644 --- a/NGINX-Installer.sh +++ b/NGINX-Installer.sh @@ -32,6 +32,11 @@ mysql -u root -p"$password" -e "SELECT user,authentication_string,plugin,host FR cat < /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; }