mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
Fix #413. Exclude Let's Encrypt bot from blacklisted bots
This commit is contained in:
parent
d8616d1e68
commit
0033f39b85
@ -1,3 +1,4 @@
|
||||
RewriteEngine on
|
||||
RewriteCond !%{HTTP_USER_AGENT} "Let's Encrypt validation server" [NC]
|
||||
RewriteCond %{HTTP_USER_AGENT} ^.*(bot|spider|crawl|https?://|WhatsApp|SkypeUriPreview|facebookexternalhit) [NC]
|
||||
RewriteRule .* - [R=403,L]
|
||||
|
Loading…
Reference in New Issue
Block a user