Fixed permissions to vendor directory

This commit is contained in:
Alexey Pustovalov
2021-06-07 07:24:08 -04:00
parent 84a0cc3227
commit 0465d2befc
26 changed files with 166 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;