Commit 104e26ce authored by Jon Pugh's avatar Jon Pugh

Merge branch '7.x-3.x' of git.drupal.org:project/provision into 2937147-composer-install

parents bc6326d6 82a59216
......@@ -441,6 +441,18 @@ location ^~ /civicrm {
try_files $uri @drupal;
}
###
### Avoid caching /civicrm* and protect it from bots on a multi-lingual site
###
location ~* ^/\w\w/civicrm {
if ( $is_bot ) {
return 403;
}
access_log off;
set $nocache_details "Skip";
try_files $uri @drupal;
}
###
### Support for audio module.
###
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment