Hi there I have successfully set up nginx sub-domain, and when I upload an image file to the root of the sub-domain I can open it by following the link in the browser.
However, I then copied my WordPress uploads folder to serve imaged as CDN to the main domain and when I follow all imaged links in the browser it returns 404 error.
I have also set up permission
sudo chown -R user:usera /var/www/cdn.domain/
I took cdn confing here https://gist.github.com/tx2z/9135302
What could be the issue?