<div dir="ltr">I still can&#39;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">&lt;<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>&gt;</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>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m running a website with nginx as a proxy and for static files.<br>
&gt; I&#39;m using the ubuntu lucid nginx package - version 0.7.65<br>
&gt; <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>
&gt; <a href="https://www.example.com" target="_blank">https://www.example.com</a> - SSL works<br>
&gt; <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&#39;t work and<br>
&gt; show untrusted connection in the browser.<br>
&gt;<br>
&gt; I have two questions:<br>
&gt; - Why SSL only works when I use default on the listen: &quot;listen     443<br>
&gt; default;&quot;<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>
&gt; - Why I can&#39;t redirect https:// to <a href="https://www" target="_blank">https://www</a> before I&#39;m getting the<br>
&gt; 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>