summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarracuda Team2014-07-25 10:39:34 (GMT)
committerBarracuda Team2014-07-25 10:39:34 (GMT)
commit8de8dc671758252d82b91d5d2aff19ca202ddee3 (patch)
treeecad88b75e1dfd44da811a107eebd2e94b6ec6eb
parent3665c8bbc4b4a9c249b33d732335f69a34ea061f (diff)
Nginx: Silence access log for already protected /civicrm admin requests.BOA-2.2.8
-rw-r--r--http/Provision/Service/http/nginx_legacy_include.conf1
-rw-r--r--http/Provision/Service/http/nginx_modern_include.conf1
-rw-r--r--http/Provision/Service/http/nginx_octopus_include.conf1
3 files changed, 3 insertions, 0 deletions
diff --git a/http/Provision/Service/http/nginx_legacy_include.conf b/http/Provision/Service/http/nginx_legacy_include.conf
index 304a0ea..36e209c 100644
--- a/http/Provision/Service/http/nginx_legacy_include.conf
+++ b/http/Provision/Service/http/nginx_legacy_include.conf
@@ -231,6 +231,7 @@ location ^~ /civicrm {
if ($is_bot) {
return 403;
}
+ access_log off;
set $nocache_details "Skip";
try_files $uri @drupal;
}
diff --git a/http/Provision/Service/http/nginx_modern_include.conf b/http/Provision/Service/http/nginx_modern_include.conf
index f1b881f..f943787 100644
--- a/http/Provision/Service/http/nginx_modern_include.conf
+++ b/http/Provision/Service/http/nginx_modern_include.conf
@@ -293,6 +293,7 @@ location ^~ /civicrm {
if ($is_bot) {
return 403;
}
+ access_log off;
set $nocache_details "Skip";
try_files $uri @drupal;
}
diff --git a/http/Provision/Service/http/nginx_octopus_include.conf b/http/Provision/Service/http/nginx_octopus_include.conf
index ae63bad..f28a596 100644
--- a/http/Provision/Service/http/nginx_octopus_include.conf
+++ b/http/Provision/Service/http/nginx_octopus_include.conf
@@ -279,6 +279,7 @@ location ^~ /civicrm {
if ($is_bot) {
return 403;
}
+ access_log off;
set $nocache_details "Skip";
try_files $uri @drupal;
}