Commit 24545454 authored by omega8cc's avatar omega8cc

Deny all known crawlers on aggregator URI in Nginx.

parent 834113a5
......@@ -157,7 +157,7 @@ location ~* (?:cgi-bin|vti-bin|wp-content) {
###
### Deny bots on some weak modules uri without 403 response.
###
location ~* (?:calendar|event|validation|vote_up_down|captcha) {
location ~* (?:calendar|event|validation|aggregator|vote_up_down|captcha) {
if ($is_bot) {
return 444;
}
......
......@@ -143,7 +143,7 @@ location ~* (?:cgi-bin|vti-bin|wp-content) {
###
### Deny bots on some weak modules uri without 403 response.
###
location ~* (?:calendar|event|validation|vote_up_down|captcha) {
location ~* (?:calendar|event|validation|aggregator|vote_up_down|captcha) {
if ($is_bot) {
return 444;
}
......
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