<div dir="ltr">I still can't redirect https:// to <a href="https://www">https://www</a> but maybe I need the certificate to support https:// for this to work.<br><br>Thanks<br><br><div class="gmail_quote">On Mon, May 10, 2010 at 10:37 AM, Igor Sysoev <span dir="ltr"><<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Sun, May 09, 2010 at 11:35:23PM +0300, pablo platt wrote:<br>
<br>
> Hi,<br>
><br>
> I'm running a website with nginx as a proxy and for static files.<br>
> I'm using the ubuntu lucid nginx package - version 0.7.65<br>
> <a href="http://example.com" target="_blank">http://example.com</a> redirect to <a href="http://www.example.com" target="_blank">http://www.example.com</a> - works<br>
> <a href="https://www.example.com" target="_blank">https://www.example.com</a> - SSL works<br>
> <a href="https://example.com" target="_blank">https://example.com</a> redirect to <a href="https://www.example.com" target="_blank">https://www.example.com</a> - doesn't work and<br>
> show untrusted connection in the browser.<br>
><br>
> I have two questions:<br>
> - Why SSL only works when I use default on the listen: "listen 443<br>
> default;"<br>
<br>
</div>Please read this:<br>
<br>
<a href="http://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server" target="_blank">http://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server</a><br>
<a href="http://nginx.org/en/docs/http/configuring_https_servers.html" target="_blank">http://nginx.org/en/docs/http/configuring_https_servers.html</a><br>
<div class="im"><br>
> - Why I can't redirect https:// to <a href="https://www" target="_blank">https://www</a> before I'm getting the<br>
> untrusted connection warning.<br>
<br>
</div><a href="http://nginx.org/en/docs/http/configuring_https_servers.html#certificate_with_several_names" target="_blank">http://nginx.org/en/docs/http/configuring_https_servers.html#certificate_with_several_names</a><br>
<font color="#888888"><br>
<br>
--<br>
Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</font></blockquote></div><br></div>