Updated Setting up CiviCRM (markdown)
parent
4996f259ea
commit
4f4a60f9fc
|
@ -74,10 +74,9 @@ Then press the 'Re-check Requirements' button. If you get the green assurance th
|
|||
Add the following configuration in */etc/nginx/sites-available/cms*:
|
||||
|
||||
```
|
||||
location ~* ^/sites/.*/files/civicrm/(?:ConfigAndLog|custom|upload|templates_c) {
|
||||
access_log off;
|
||||
return 404;
|
||||
}
|
||||
location ~ ^/sites/.*/files/civicrm/(ConfigAndLog|upload|templates_c|custom) {
|
||||
deny all;
|
||||
}
|
||||
```
|
||||
|
||||
Restart *Nginx*:
|
||||
|
|
Loading…
Reference in a new issue