Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Too Many Redirects - CDN Rewrite Rule

$
0
0
On Thu, Mar 21, 2013 at 12:20:53AM -0400, toddlahman wrote:

Hi there,

> It is possible my CDN is using the same ruleset. I am using MaxCDN, and they
> use Nginx to serve static images. How would I write this ruleset to be
> compatible with MaxCDN (aka NetDNA)?

You shouldn't have to care.

If your server is configured to cause a redirect loop, it's your
problem. If their one is, it's their problem.

So: which server is causing the "Too Many Redirects"?

curl -i http://yourserver/XXico

Do you get a http redirect? What happens when you "curl -i" the returned
Location: value?

Repeat until you can see which server (yourserver or the cdn) is causing
the redirect chain.

Then fix that server.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>