Update 'installer.sh'
This commit is contained in:
@@ -56,13 +56,9 @@ chown -R www-data:www-data /var/www/"$domain"/html
|
|||||||
##-----------##
|
##-----------##
|
||||||
# NGINX #
|
# NGINX #
|
||||||
##-----------##
|
##-----------##
|
||||||
echo "NGINX"
|
|
||||||
|
|
||||||
#installing nginx from apt
|
|
||||||
apt install -y nginx
|
apt install -y nginx
|
||||||
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/config/nginx/nginx-default.conf -O /etc/nginx/nginx.conf
|
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/config/nginx/nginx-default.conf -O /etc/nginx/nginx.conf
|
||||||
|
|
||||||
|
|
||||||
cat <<EOF > /etc/nginx/sites-available/"$domain"
|
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;
|
#fastcgi_cache_path /etc/nginx/cache levels=1:2 keys_zone=MYAPP:100m max_size=10g inactive=1440m;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user