summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-06-13 11:14:56 +0100
committerDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-06-13 11:14:56 +0100
commit81288716cc32a15d531c798f24bd3a3d19dd2e40 (patch)
tree790fdd49d6d5b2928ea41964263bd9336bb44ff5
parentHTTPS links (diff)
downloadgentoobrowse-81288716cc32a15d531c798f24bd3a3d19dd2e40.tar.bz2
gentoobrowse-81288716cc32a15d531c798f24bd3a3d19dd2e40.tar.xz
gentoobrowse-81288716cc32a15d531c798f24bd3a3d19dd2e40.zip
Rule to allow certbot verificationgentoobrowse-2.0.0_beta9
-rw-r--r--gentoobrowse/.htaccess2
1 files changed, 2 insertions, 0 deletions
diff --git a/gentoobrowse/.htaccess b/gentoobrowse/.htaccess
index d300ea2..d8487aa 100644
--- a/gentoobrowse/.htaccess
+++ b/gentoobrowse/.htaccess
@@ -21,6 +21,8 @@ RewriteRule ^(.*) /packages [R=301,L]
RewriteCond %{REQUEST_URI} ^/popular
RewriteRule ^(.*) /packages/popular [R=301,L]
+# certbot verification
+RewriteCond %{REQUEST_URI} !^/.well-known/
RewriteCond %{REQUEST_URI} !^/css/
RewriteCond %{REQUEST_URI} !^/js/
RewriteCond %{REQUEST_URI} !^/img/