소스 검색

Fix #413. Exclude Let's Encrypt bot from blacklisted bots

Romain Dessort 7 년 전
부모
커밋
0033f39b85
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .htaccess.disabled

+ 1 - 0
.htaccess.disabled

@@ -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]