Do not httpd-redirect for acme challenges

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-09-09 23:42:19 +00:00
parent 0dcd476fbc
commit fd0a29275a

View file

@ -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"