Updated Setting up a private files folder for Drupal (markdown)
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;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue