diff --git a/roles/infinote/templates/infinote.fedoraproject.org.conf b/roles/infinote/templates/infinote.fedoraproject.org.conf index 62ddb85d54..299bb19540 100644 --- a/roles/infinote/templates/infinote.fedoraproject.org.conf +++ b/roles/infinote/templates/infinote.fedoraproject.org.conf @@ -22,9 +22,9 @@ Listen 443 # We can't do this until virt-install can handle https RewriteEngine on + RewriteRule ^/\.well-known/(.*) "http://fedoraproject.org/\.well-known/$1" [L,R=301,NE] RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [L,R] - RewriteRule ^/\.well-known/(.*) "http://fedoraproject.org/\.well-known/$1" [L,R=301,NE] # robots location Alias /robots.txt /srv/web/robots.txt.infinote