Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Regularly check CDN rewrites #6624

Closed
Closed

Description

@numismatika

There are a lot of rules that rewrite their hosts to a cdn.
Be it akamai, amazon webservices, cloudfront, cloudflare or llnwd.
Pages and CDNs are slowly rolling out proper certificates for the real hostname.
Going through all rules manually and check if the rule can be fixed is a long and annoying task.
Could someone maybe write a script for that?

Activity

  1. jeremyn commented on Sep 14, 2016

    @jeremyn
    Contributor

    Can you please give an example of one CDN entry that should be updated, to show what you mean?

  2. numismatika commented on Sep 14, 2016

    @numismatika
    ContributorAuthor

    9gag rewrites images-cdn.9gag.com to https://d24w6bsrhbeh9d.cloudfront.net/ although there is a valid cert for *.9gag.com in use on the original domain.

    <rule from="^http://cdn1\.360cities\.net/"
    to="https://d2dw0c606n9zn3.cloudfront.net/" />
    <rule from="^http://cdn2\.360cities\.net/"
    to="https://d3tllcxe89i3i3.cloudfront.net/" />
    

    as well. Both hosts use a certificate that is valid for *.360cities.net. No need for cloudfront in the rewrites here.

  3. jeremyn commented on Sep 14, 2016

    @jeremyn
    Contributor

    Oh I see, thanks. Yes, it would definitely be nice to reduce CDN rewrites.

  4. self-assigned this
    on Mar 28, 2019
  5. pipboy96 commented on Aug 11, 2019

    @pipboy96
    Contributor

    Duplicate of #2709, being worked on by @cschanaj.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions