CDN and multisite

(Jay Pfaffman) #1

It seems that all multisite hosts share the same DISCOURSE_CDN_URL. Is there some magic that happens to let them all share the same zone?

(Sam Saffron) #2

Yeah we always add the host name to the CDN requests. All you need to do is make sure you don’t eat query strings from the CDN origin.

(Jay Pfaffman) #3

Ah. I see. It is magic. The CSS assets are working. The only thing that’s not working is user_avatar/sitename/username/xx/yy_1.png.