frostyx / copr / copr

Forked from copr/copr 7 years ago
Clone

0d6cc18 backend: work with multiple CDN hostnames per instance

1 file Authored by frostyx 2 years ago, Committed by praiskup 2 years ago,
    backend: work with multiple CDN hostnames per instance
    
    It seems that each instance has automatically generated CDN hostname
    which looks like this
    
        d1nld9ovj32u75.cloudfront.net
    
    But at the same time it can have an assigned hostname, e.g.
    
        download.copr.fedorainfracloud.org
    
    And in the S3 access logs, there are accessess for both
    hostnames (even mixed within one access log)
    
    Merges: #2329