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*:
|
Add the following configuration in */etc/nginx/sites-available/cms*:
|
||||||
|
|
||||||
```
|
```
|
||||||
location ~* ^/sites/.*/files/civicrm/(?:ConfigAndLog|custom|upload|templates_c) {
|
location ~ ^/sites/.*/files/civicrm/(ConfigAndLog|upload|templates_c|custom) {
|
||||||
access_log off;
|
deny all;
|
||||||
return 404;
|
}
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Restart *Nginx*:
|
Restart *Nginx*:
|
||||||
|
|
Loading…
Reference in a new issue