I'm getting duplicate content on Google and it's affecting my rankings.
After setting up your website to work through a CDN Resource with CDN77, your content may be accessible both from your domain as well as the CDN URL / CNAME, which can result in unnecessary duplicity and damage your SEO ranking.
You can prevent Google from crawling the duplicate links by following these steps.
The best way to configure this and to achieve the best SEO is to include HTTP header "rel=canonical" with your CDN files.
An example of such HTTP Header is:
Link: http://www.example.com/downloads/white-paper.pdf; rel="canonical"
For more in-depth information regarding this, have a look at the following tutorial from Google.