Only use this exception for fp.o

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-06-28 11:41:48 +02:00
parent 424d7c10bb
commit a387117063

View file

@ -21,7 +21,9 @@
{% if sslonly %}
RewriteEngine On
RewriteCond %{REQUEST_URI} !/.well-known/acme-challenge/.*
RewriteCond %{REQUEST_URI} !/static/hotspot.txt
{% if site_name == "fedoraproject.org" %}
RewriteCond %{REQUEST_URI} !/static/hotspot.txt
{% endif %}
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]
{% else %}
Include "conf.d/{{ site_name }}/*.conf"