'NGINX-Installer.sh' updaten
This commit is contained in:
@@ -229,10 +229,10 @@ cat <<EOF > /etc/nginx/sites-available/default
|
|||||||
gzip_types *;
|
gzip_types *;
|
||||||
}
|
}
|
||||||
|
|
||||||
root /var/www/$domain/html;
|
root /var/www/html;
|
||||||
index index.php index.html index.htm index.nginx-debian.html;
|
index index.php index.html index.htm index.nginx-debian.html;
|
||||||
|
|
||||||
server_name $domain www.$domain;
|
server_name _;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files \$uri \$uri/ =404;
|
try_files \$uri \$uri/ =404;
|
||||||
|
|||||||
Reference in New Issue
Block a user