Hello. I am newbie and I want to integrate my Magento 2 store to serve images through Cloudflare’s CDN. I have already set up Cloudflare with my domain and everything working fine.
My question is if separate subdomain is needed for example cdn.example.com to serve my files through Cloudflare.
Magento gives me the option to declare an address for images separate than other files. So what I am thinking is to create a new subdomain cdn.example.com and create cname A record in Cloudflare to this new domain.
What I should do in my server side though? I don’t use cpanel or similar. I use nginx.
Do I need to create a new domain vhost there?