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:
|
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/.*/files/(private|temp|tmp|backup_migrate) {
|
||||||
location ^~ /sites/default/private {
|
deny all;
|
||||||
internal;
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue