diff --git a/roles/kojipkgs/templates/kojipkgs.conf b/roles/kojipkgs/templates/kojipkgs.conf index ced0de3a88..05f7ba10b1 100644 --- a/roles/kojipkgs/templates/kojipkgs.conf +++ b/roles/kojipkgs/templates/kojipkgs.conf @@ -132,4 +132,5 @@ RewriteRule ".*/.*openh264.*.(x86_64|armv7hl|i686|ppc64|ppc64le|aarch64|s390x).r Header always add Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" # Atomic Objects +RewriteCond %{HTTP:X-CloudFront} !^$ RewriteRule "/atomic/repo/objects/(.*)" "https://d2os45suu8yck8.cloudfront.net/$1" [R=302,L]