Nginx rule for subdomains: ERR_TOO_MANY_REDIRECTS

Francis Daly francis at daoine.org
Fri Jun 9 07:11:38 UTC 2017


On Thu, Jun 08, 2017 at 03:59:19AM -0400, iivan wrote:

Hi there,

> Here's the full configuration file:
> https://gist.github.com/ivanionut/946468ce86086a55937e92c7249e3ed7

That shows that the "if/rewrite" that you showed previously is within
"location / {}", and it rewrites to /index.cfm.

What part of your config shows how nginx should handle a request for
/index.cfm?

> It was working correctly before the upgrade to the latest version.

If you upgraded from a version that had some different defaults, that
might explain the difference.

(The config also suggests that you are using a third-party module;
perhaps that is involved in the change in observed behaviour.)

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list