mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 00:24:58 +02:00
Fixed permissions to vendor directory
This commit is contained in:
@ -50,6 +50,11 @@ server {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ /(api\/|conf[^\.]|include|locale|vendor) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~ .php$ {
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
|
@ -74,6 +74,11 @@ server {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ /(api\/|conf[^\.]|include|locale|vendor) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~ .php$ {
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
|
@ -50,6 +50,11 @@ server {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ /(api\/|conf[^\.]|include|locale|vendor) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~ .php$ {
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
|
@ -74,6 +74,11 @@ server {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ /(api\/|conf[^\.]|include|locale|vendor) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~ .php$ {
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
|
@ -50,6 +50,11 @@ server {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ /(api\/|conf[^\.]|include|locale|vendor) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~ .php$ {
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
|
@ -74,6 +74,11 @@ server {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ /(api\/|conf[^\.]|include|locale|vendor) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~ .php$ {
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
|
Reference in New Issue
Block a user