mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
add rewrite rule for Let's Encrypt certificates
The LE tools need access to a stable path to automatically obtain certificates, so add a rewrite rule to allow it.
This commit is contained in:
parent
0d633ce618
commit
7b665ade0a
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue