Skip to content

A free open source IT asset/license management system

add rewrite rule for Let's Encrypt certificates

Mike Frysinger7b665ade0ab5
diff --git a/public/.htaccess b/public/.htaccess
index 5061585ade..ac2a6fa8e8 100644
--- a/public/.htaccess
+++ b/public/.htaccess
@@ -5,6 +5,9 @@
RewriteEngine On
+ # Needed for https://letsencrypt.org/ certificates.
+ RewriteRule ^\.well-known/acme-challenge/ - [END]
+
# Uncomment these two lines to force SSL redirect in Apache
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]