redirect https:// to https://www produce untrusted connection
Igor Sysoev
igor at sysoev.ru
Mon May 10 11:37:12 MSD 2010
On Sun, May 09, 2010 at 11:35:23PM +0300, pablo platt wrote:
> Hi,
>
> I'm running a website with nginx as a proxy and for static files.
> I'm using the ubuntu lucid nginx package - version 0.7.65
> http://example.com redirect to http://www.example.com - works
> https://www.example.com - SSL works
> https://example.com redirect to https://www.example.com - doesn't work and
> show untrusted connection in the browser.
>
> I have two questions:
> - Why SSL only works when I use default on the listen: "listen 443
> default;"
Please read this:
http://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server
http://nginx.org/en/docs/http/configuring_https_servers.html
> - Why I can't redirect https:// to https://www before I'm getting the
> untrusted connection warning.
http://nginx.org/en/docs/http/configuring_https_servers.html#certificate_with_several_names
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list