diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index 27510e46f7..026b2ffe84 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -16,14 +16,14 @@ ProxyPass "/.well-known/acme-challenge" "http://certgetter01/.well-known/acme-challenge" {% endif %} -{% if site_name == "fedoraproject.org" || site_name == "hotspot-nocache.fedoraproject.org" %} +{% if site_name == "fedoraproject.org" or site_name == "hotspot-nocache.fedoraproject.org" %} Alias /static/hotspot.txt /srv/web/fedoraproject.org/static/hotspot.txt {% endif %} {% if sslonly %} RewriteEngine On RewriteCond %{REQUEST_URI} !/.well-known/acme-challenge/.* - {% if site_name == "fedoraproject.org" || site_name == "hotspot-nocache.fedoraproject.org" %} + {% if site_name == "fedoraproject.org" or site_name == "hotspot-nocache.fedoraproject.org" %} RewriteCond %{REQUEST_URI} !/static/hotspot.txt {% endif %} RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]