diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index ee55be558d..83f4dc68b8 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -30,6 +30,13 @@ roles: + - role: httpd/reverseproxy + website: copr.fedoraproject.org + destname: api + localpath: /api + remotepath: /api + proxyurl: https://copr.fedorainfracloud.org + - role: httpd/reverseproxy website: admin.fedoraproject.org destname: nagios diff --git a/playbooks/include/proxies-websites.yml b/playbooks/include/proxies-websites.yml index 313a12784f..568ecedee0 100644 --- a/playbooks/include/proxies-websites.yml +++ b/playbooks/include/proxies-websites.yml @@ -258,7 +258,9 @@ - role: httpd/website name: copr.fedoraproject.org - sslonly: true + ssl: true + # We need sslonly=false because copr-cli hardcoded http + sslonly: false cert_name: "{{wildcard_cert_name}}" - role: httpd/website diff --git a/roles/httpd/redirect/templates/redirect.copr.fedoraproject.org.conf b/roles/httpd/redirect/templates/redirect.copr.conf similarity index 100% rename from roles/httpd/redirect/templates/redirect.copr.fedoraproject.org.conf rename to roles/httpd/redirect/templates/redirect.copr.conf