Regularly check CDN rewrites
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?
Can you please give an example of one CDN entry that should be updated, to show what you mean?
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.
Oh I see, thanks. Yes, it would definitely be nice to reduce CDN rewrites.
Duplicate of #2709, being worked on by @cschanaj.