From 4f4a60f9fcb161af1cf424b4e774ac959ed2d61f Mon Sep 17 00:00:00 2001 From: Theodotos Andreou Date: Sun, 14 Jan 2018 23:16:36 +0200 Subject: [PATCH] Updated Setting up CiviCRM (markdown) --- Setting-up-CiviCRM.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Setting-up-CiviCRM.md b/Setting-up-CiviCRM.md index 19b34d8..2b418b7 100644 --- a/Setting-up-CiviCRM.md +++ b/Setting-up-CiviCRM.md @@ -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*: