Add comment in overrides.inc.php for blocking by user agent.
This commit is contained in:
parent
e720f3729c
commit
1d347d0344
|
@ -72,6 +72,10 @@ return [
|
||||||
// Rate per second that a 'bot' may load pages
|
// Rate per second that a 'bot' may load pages
|
||||||
'throttle_hits_bot_loadrate' => '.1',
|
'throttle_hits_bot_loadrate' => '.1',
|
||||||
|
|
||||||
|
// Block connections when one of these strings is
|
||||||
|
// contained in user_agent string
|
||||||
|
// 'block_by_user_agent' => array("semrushbot", "bytespider"),
|
||||||
|
|
||||||
// Just leave this here to avoid comma errors
|
// Just leave this here to avoid comma errors
|
||||||
'comma' => true
|
'comma' => true
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue