nginx erroneously redirecting to https

Francis Daly francis at daoine.org
Sun Dec 23 11:09:57 UTC 2012


On Sat, Dec 22, 2012 at 12:00:10PM -0500, Gulaholic wrote:

Hi there,

> Here is my Nginx conf:

This isn't complete, but there's nothing there that indicates that nginx
is creating the https redirect.

It looks like the application wants to use https for some requests,
and you do not want to use https at all.

The cleanest way to achieve that, once you understand that you are
breaking the application's security model, is to configure the application
never to use https.

How to do that is a question for the application documentation, but
something like setting config[root_url] and config[ssl_url] to the same
string which starts http:// might be worth investigating.

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list