https-everywhere icon indicating copy to clipboard operation
https-everywhere copied to clipboard

Regularly check CDN rewrites

Open numismatika opened this issue 10 years ago • 4 comments

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?

numismatika avatar Aug 27 '16 10:08 numismatika

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

jeremyn avatar Sep 14 '16 00:09 jeremyn

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.

numismatika avatar Sep 14 '16 18:09 numismatika

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

jeremyn avatar Sep 14 '16 20:09 jeremyn

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

pipboy96 avatar Aug 11 '19 19:08 pipboy96