parent
9fac474e2e
commit
23140a01e6
|
@ -11,6 +11,11 @@ location ~ ^/sites/[^/]+/files/.*\.php$ {
|
||||||
# Drupal: deny php in vendor
|
# Drupal: deny php in vendor
|
||||||
location ~ /vendor/.*\.php$ {
|
location ~ /vendor/.*\.php$ {
|
||||||
deny all;
|
deny all;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Drupal: handle private files
|
||||||
|
location ~ ^(/[a-z\-]+)?/system/files/ {
|
||||||
|
try_files $uri /index.php?$query_string;
|
||||||
}<span ng-if="isLimitReq()">
|
}<span ng-if="isLimitReq()">
|
||||||
|
|
||||||
# Drupal: throttle user functions
|
# Drupal: throttle user functions
|
||||||
|
|
Loading…
Reference in New Issue