Scaling and Managing CaddyFile in AWS for multiple Sub-Domain from different Domain

That’s really excellent support reply from the caddy,

So, since I don’t need to restart the caddy server to add multiple domains which solve my one issue.

But is there any way I could add a CDN to all domains that I have added from a caddy or is there any other way to do that? because I cant manually add cdn of every domain manually, I am ready to use any CDN provider which will work with this.

If its off topic any can get any resources that works well with caddy.

because I will be added a load balancer above this caddy server to make the scaling work well, as you said its horizontal scaling.

For these on-demand domains how to add CDN. Like if I allow like 1000+ domains how to sever them via CDN since cloudfront supports only few domains. Is there any way I can route all allowed domains via some CDN.

This is severed directly from EC2 via caddy server, need to make a layer above this server for all domains. Like etc1. com, etc2. com, etc3. com and 1000+ domains.