2016-02-16 20:06:28 +08:00
|
|
|
RewriteEngine on
|
2019-03-24 21:50:04 +08:00
|
|
|
RewriteCond !%{HTTP_USER_AGENT} "Let's Encrypt validation server" [NC]
|
2017-01-04 00:46:26 +08:00
|
|
|
RewriteCond %{HTTP_USER_AGENT} ^.*(bot|spider|crawl|https?://|WhatsApp|SkypeUriPreview|facebookexternalhit) [NC]
|
2016-02-16 20:06:28 +08:00
|
|
|
RewriteRule .* - [R=403,L]
|