Fix redirect from copr.fedoraproject.org to copr.fedorainfracloud.org

This commit is contained in:
Jakub Kadlčík 2018-08-20 19:35:55 +02:00 committed by clime
parent c892543dc3
commit 51573754bf

View file

@ -73,9 +73,10 @@ Listen 443 https
SSLCertificateChainFile /etc/letsencrypt/live/{{ copr_frontend_public_hostname }}/fullchain.pem
{% endif %}
ServerAlias {{ copr_frontend_public_hostname }}
Redirect 302 / https://{{ copr_frontend_public_hostname }}/
{% if not devel %}
ServerAlias copr.fedoraproject.org
Redirect 302 / https://copr.fedorainfracloud.org/
{% endif %}
</VirtualHost>