Update 'NGINX-Installer.sh'

This commit is contained in:
bprieshof
2019-01-24 12:20:20 +01:00
parent a67a40e20a
commit 10d61f926a

View File

@@ -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;