Optimizations for Nginx configs

This commit is contained in:
Alexey Pustovalov
2021-06-08 18:09:00 -04:00
parent 957029b5b5
commit ec9e888ea2
24 changed files with 108 additions and 24 deletions

View File

@ -41,7 +41,7 @@ server {
expires 14d;
}
location ~ /(app\/|conf[^\.]|include|locale) {
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
deny all;
return 404;
}

View File

@ -63,7 +63,7 @@ server {
expires 14d;
}
location ~ /(app\/|conf[^\.]|include|locale) {
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
deny all;
return 404;
}

View File

@ -41,7 +41,7 @@ server {
expires 14d;
}
location ~ /(app\/|conf[^\.]|include|locale) {
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
deny all;
return 404;
}

View File

@ -63,7 +63,7 @@ server {
expires 14d;
}
location ~ /(app\/|conf[^\.]|include|locale) {
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
deny all;
return 404;
}

View File

@ -41,7 +41,7 @@ server {
expires 14d;
}
location ~ /(app\/|conf[^\.]|include|locale) {
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
deny all;
return 404;
}

View File

@ -63,7 +63,7 @@ server {
expires 14d;
}
location ~ /(app\/|conf[^\.]|include|locale) {
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
deny all;
return 404;
}