Do not httpd-redirect for acme challenges
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
0dcd476fbc
commit
fd0a29275a
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
{% if sslonly %}
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteCond %{REQUEST_URI} !/.well-known/acme-challenge/.*
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]
|
||||
{% else %}
|
||||
Include "conf.d/{{ name }}/*.conf"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue