mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Merge pull request #10082 from vapier/develop
add rewrite rule for Let's Encrypt certificates
This commit is contained in:
commit
3b79038879
|
@ -5,6 +5,9 @@
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
|
# Needed for https://letsencrypt.org/ certificates.
|
||||||
|
RewriteRule ^\.well-known/acme-challenge/ - [END]
|
||||||
|
|
||||||
# Uncomment these two lines to force SSL redirect in Apache
|
# Uncomment these two lines to force SSL redirect in Apache
|
||||||
# RewriteCond %{HTTPS} off
|
# RewriteCond %{HTTPS} off
|
||||||
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
||||||
|
|
Loading…
Reference in a new issue