Add explicit hostnames to CDN-rewrite function