Fixed permissions to vendor directory

This commit is contained in:
Alexey Pustovalov
2021-06-07 07:19:48 -04:00
parent aff5346c8e
commit 5fa00c52a9
28 changed files with 176 additions and 0 deletions

View File

@ -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;

View File

@ -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;