Re: Require 'www' for https://example.com

2013-03-22 Thread Igor Sysoev
On Mar 23, 2013, at 2:44 , openletter wrote: > I am setting up a server that will be for a B2B business, and I want the > whole site to be served as https://www.example.com/ > > I have gotten a certificate and https://www.example.com runs just fine, but > I can't figure out how to require https:/

Re: Require 'www' for https://example.com

2013-03-22 Thread António P . P . Almeida
On 22 Mar 2013 23h44 CET, nginx-fo...@nginx.us wrote: > I am setting up a server that will be for a B2B business, and I want > the whole site to be served as https://www.example.com/ > > I have gotten a certificate and https://www.example.com runs just > fine, but I can't figure out how to require

Re: Require 'www' for https://example.com

2013-03-22 Thread kirpit
# www fix server { # www.example.com -> example.com #server_name www.example.com; #rewrite ^ $scheme://example.com$request_uri? permanent; # www.example.com -> example.com server_name example.com; rewrite ^ $scheme://www.example.com$request_uri? per

Require 'www' for https://example.com

2013-03-22 Thread openletter
I am setting up a server that will be for a B2B business, and I want the whole site to be served as https://www.example.com/ I have gotten a certificate and https://www.example.com runs just fine, but I can't figure out how to require https://www.example.com when a user tries to go to https://exam