Forcing SSL;

Luit van Drongelen me at
Tue Feb 8 19:07:09 MSK 2011

On Tue, Feb 8, 2011 at 5:05 PM, David J. <david at> wrote:
> What is the best way to force all connections to use SSL?

I use a separate server block like this:

server {
    rewrite ^$request_uri? break;

More information about the nginx mailing list