Too Many Redirects - CDN Rewrite Rule

Jonathan Matthews contact at jpluscplusm.com
Thu Mar 21 19:16:47 UTC 2013


On 21 March 2013 19:13, toddlahman <nginx-forum at nginx.us> wrote:
> I talked to NetDNA and they said my redirect would in fact cause a redirect
> loop. Unfortunately the PHP project I am using the CDN for would take a long
> time to convert URLs to the CDN for static files so another route may be a
> better solution.
>
> There has been mention of using proxy_pass to an upstream to pass static
> files off to the upstream CDN. I've tried a few different ways to apply
> this, but none have worked. Does anyone have a working proxy_pass solution
> to offload static files to the CDN?

Francis already told you what to do. Please follow his instructions
and report back how you get on, where you get stuck, or what your
final working config looks like so others can learn from it.

Jonathan
-- 
Jonathan Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.html



More information about the nginx mailing list