Commit aeb0f417 authored by omega8cc's avatar omega8cc

Nginx: Remove webform keyword from regex locations - fixes #599

parent 594771a4
......@@ -852,9 +852,9 @@ location ~* /(?:modules|libraries)/(?:contrib/)?(?:ad|tinybrowser|f?ckeditor|tin
}
###
### Deny crawlers and never cache known AJAX and webform requests.
### Deny crawlers and never cache known AJAX requests.
###
location ~* /(?:ahah|ajax|batch|autocomplete|webform|done|progress/|x-progress-id|js/.*) {
location ~* /(?:ahah|ajax|batch|autocomplete|done|progress/|x-progress-id|js/.*) {
if ($is_bot) {
return 403;
}
......
......@@ -696,9 +696,9 @@ location ^~ /<?php print $subdir; ?> {
}
###
### Deny crawlers and never cache known AJAX and webform requests.
### Deny crawlers and never cache known AJAX requests.
###
location ~* ^/<?php print $subdir; ?>/(.*(?:ahah|ajax|batch|autocomplete|webform|done|progress/|x-progress-id|js/.*).*)$ {
location ~* ^/<?php print $subdir; ?>/(.*(?:ahah|ajax|batch|autocomplete|done|progress/|x-progress-id|js/.*).*)$ {
if ($is_bot) {
return 403;
}
......
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