Welcome! Log In Create A New Profile

Advanced

Re: Forcing SSL;

Luit van Drongelen
February 08, 2011 11:10AM
On Tue, Feb 8, 2011 at 5:05 PM, David J. <david@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;
}

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Forcing SSL;

David J. February 08, 2011 11:06AM

Re: Forcing SSL;

Luit van Drongelen February 08, 2011 11:10AM

Re: Forcing SSL;

David J. February 08, 2011 11:16AM

Re: Forcing SSL;

Luit van Drongelen February 08, 2011 11:36AM

Re: Forcing SSL;

David J. February 08, 2011 11:44AM

Re: Forcing SSL;

António P. P. Almeida February 08, 2011 11:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 204
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready