Skip to content

Commit

Permalink
Drupal: handle private files
Browse files Browse the repository at this point in the history
  • Loading branch information
Szekeres Bálint committed Nov 23, 2018
1 parent 9fac474 commit 23140a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/templates/conf/nginxconfig.io/drupal.conf.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
# Drupal: deny php in vendor
location ~ /vendor/.*\.php$ {
deny all;
}

# Drupal: handle private files
location ~ ^(/[a-z\-]+)?/system/files/ {
try_files $uri /index.php?$query_string;
}<span ng-if="isLimitReq()">

# Drupal: throttle user functions
Expand Down

0 comments on commit 23140a0

Please sign in to comment.