ShinLim
Active member
Cloudflare has banned me, it said I was abuse caching, I don't know why
But I have added another domain on Cloudflare
This is a little complex question, I hope someone can understand and help me
I have 2 domains name : domainA.com and domainB.com
domainA is primary meanwhile domainB for caching
Both domain point to same server, which is 12.34.56.78
domainA not using cloudflare, but domainB is using cloudflare and I created a page rule for it : domainB.com/attachments/*
Now i don't know how to use conf nginx file to redirect domainA.com/attachments/* to domainB.com/attachments/*
I've tried :
But no use, anyone can help me this ? I'd very appreciate and a little donate for sure
But I have added another domain on Cloudflare
This is a little complex question, I hope someone can understand and help me
I have 2 domains name : domainA.com and domainB.com
domainA is primary meanwhile domainB for caching
Both domain point to same server, which is 12.34.56.78
domainA not using cloudflare, but domainB is using cloudflare and I created a page rule for it : domainB.com/attachments/*
Now i don't know how to use conf nginx file to redirect domainA.com/attachments/* to domainB.com/attachments/*
I've tried :
Code:
rewrite https://domainA.com/attachments/(.*)$ https://domainB.com/attachments/$1 permanent;
But no use, anyone can help me this ? I'd very appreciate and a little donate for sure