How are you handling custom domains?

Hey everyone, just curious how people are dealing with custom domains in front of their sprites, particularly interested to see how people are getting CDNs with full TLS to work neatly?

My current solution – which feels a little inelegant – is to use a CloudFlare worker to re-write the request URL to point at the correct sprite public URL while modifying the Host header from the public facing domain to the sprite domain. I suspect I could also keep the sprite private and accomplish something similar, but it feels like overkill.

Has anyone come up with a tidier solution to custom domains with TLS for sprites?

1 Like

I also looked at using CloudFront which has better (free) support for SNIs, but CloudFlare was the thing in front of me.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.