mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
I can't off hand think of why this would break anything, but
do let me know if you think it will. Before we merge this, we will need to adjust things in mirrormanager to not provide http links most likely (although I suppose the redirects will work for http clients). Signed-off-by: Kevin Fenzi kevin@scrye.com
This commit is contained in:
@@ -3,7 +3,12 @@
|
||||
ServerAlias archive.fedoraproject.org archives.fedoraproject.org secondary.fedoraproject.org download-ib01.fedoraproject.org download-cc-rdu01.fedoraproject.org
|
||||
ServerAdmin webmaster@fedoraproject.org
|
||||
TraceEnable Off
|
||||
|
||||
#
|
||||
# redirect everyone to use https
|
||||
#
|
||||
RewriteEngine on
|
||||
RewriteCond %{SERVER_PORT} !^443$
|
||||
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [L,R]
|
||||
|
||||
Include "conf.d/dl.fedoraproject.org/*.conf"
|
||||
</VirtualHost>
|
||||
|
||||
Reference in New Issue
Block a user