atom feed6 messages in ru.sysoev.nginxRe: Forcing SSL;
FromSent OnAttachments
David J.Feb 8, 2011 8:03 am 
Luit van DrongelenFeb 8, 2011 8:06 am 
David J.Feb 8, 2011 8:12 am 
Luit van DrongelenFeb 8, 2011 8:32 am 
António P. P. AlmeidaFeb 8, 2011 8:38 am 
David J.Feb 8, 2011 8:39 am 
Subject:Re: Forcing SSL;
From:Luit van Drongelen (me@luitvd.net)
Date:Feb 8, 2011 8:06:31 am
List:ru.sysoev.nginx

On Tue, Feb 8, 2011 at 5:05 PM, David J. <dav@styleflare.com> wrote:

What is the best way to force all connections to use SSL?

I use a separate server block like this:

server { server_name example.com; rewrite ^ https://example.com$request_uri? break; }