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