cdn.****.lol/* show ****.lol/uploads/*

i want cdn.***.lol/ to show ****.lol/uploads*
3 Replies
Chaika
Chaika6mo ago
You'd have to use a Worker to transform the paths, and you'd be paying for each request as a worker invocation, no easy way If you could have cdn subdomain point to the same origin/host and have it accept the cdn subdomain as well, you could then just use a transform rule to rewrite the path and append /uploads to it
Metriusz
Metriusz6mo ago
Don't origin rules also allow you to achieve something like that? With an Enterprise plan
Chaika
Chaika6mo ago
with ent you could go with the second idea there with a transform rule and use an origin rule/page rule to rewrite the host header/change dns lookup if you couldn't also allow cdn