On Wed, Mar 9, 2011 at 9:48 PM, Vitaly Tskhovrebov <span dir="ltr">&lt;<a href="mailto:vt@chgk.info">vt@chgk.info</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
In my case of such config I was able to force perl application to build links inside with https. If your links don&#39;t have any scheme, then user&#39;s browser will use existing one.<br>
<br>
Also, you should avoid rewrites with schemes on nginx side.<br>
<br>
i.e. rewrite ^ <a href="http://example.com/" target="_blank">http://example.com/</a> permanent; should be avoided, because it enforces to use http.<div class="im"><br></div></blockquote><div><br>but you could also (and should) redirect to https instead?<br>
<br>-jf<br><br><br></div></div>