From 6833e584a57f4139d51c59457cc7581a644a3732 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 17 Apr 2018 20:45:31 +0000 Subject: [PATCH] Fix redirect Signed-off-by: Patrick Uiterwijk --- .../templates/reversepassproxy.brokenostreekojipkgs.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.brokenostreekojipkgs.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.brokenostreekojipkgs.conf index 4285046f42..0fdd7c9592 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.brokenostreekojipkgs.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.brokenostreekojipkgs.conf @@ -21,7 +21,7 @@ ProxyPreserveHost On # The only remaining image with this bug is F27 Fedora Atomic Workstation # Can be nuked after F28 GA RewriteEngine On -RewriteCond %{HTTP_USER_AGENT} !^ostree\ $ +RewriteCond %{HTTP_USER_AGENT} !^ostree$ RewriteRule ^(.*)$ https://kojipkgs.fedoraproject.org/$1 [L,R=302]