Update 'NGINX-Installer.sh'
This commit is contained in:
@@ -31,7 +31,7 @@ else
|
||||
wget https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/config/nginx/nginx-default.conf -O /etc/nginx/nginx.conf
|
||||
fi
|
||||
|
||||
apt install -y nginx mysql-server-5.7
|
||||
apt install -y mysql-server-5.7
|
||||
# mysql_secure_installation automated
|
||||
mysqladmin -u root password "$password"
|
||||
mysql -u root -p"$password" -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1')"
|
||||
@@ -74,7 +74,7 @@ server {
|
||||
gzip_comp_level 2;
|
||||
gzip_disable "msie6";
|
||||
gzip_buffers 16 8k;
|
||||
|
||||
|
||||
|
||||
location / {
|
||||
#try_files \$uri \$uri/ =404;
|
||||
|
||||
Reference in New Issue
Block a user