mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-25 01:04:01 +01:00
Disallow access to vendor directory on Nginx
This commit is contained in:
parent
8d1615a33a
commit
e73ef0d59c
@ -41,7 +41,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/|vendor\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user