Updated Setting up a private files folder for Drupal (markdown)

Theodotos Andreou 2018-01-14 23:22:35 +02:00
parent f05baeae51
commit 81d9c16b33

@ -27,9 +27,8 @@ Then use these setting:
We need to add this rule under the cms virtualhost configuration (/etc/nginx/sites-enabled/cms) under the **server** section:
```
# Setup private folder
location ^~ /sites/default/private {
internal;
location ~ ^/sites/.*/files/(private|temp|tmp|backup_migrate) {
deny all;
}
```