On Thu, Nov 20, 2014 at 10:07:22PM +0100, JACK LINKERS wrote:
You probably already have the answer now, but just in case not...
> I completely lost...
> I tried everything (of my understanding) with no success.
Your original config was:
listen on http and https; redirect everything to https.
That's a recipe for an infinite loop, as your browser reported.
What you probably want is:
listen on http; redirect everything to https.
listen on https; process requests normally.
which is most easily done with two separate server{} blocks.
f
--
Francis Daly [email protected]
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx