<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Stunnel is not the right tool for this job. You need a more powerful tool for that kind of proxying: squid, apache or nginx will do.<br><br>Saludos<div>Jose Alfredo Diaz</div><div><br></div><div><br></div></div><div><br>On May 25, 2017, at 7:42 AM, Shamim Uz Zaman <<a href="mailto:mshamimuzzaman@gmail.com">mshamimuzzaman@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><div class="gmail_default" style="font-size:12.8px">Hi</div><div class="gmail_default" style="font-size:12.8px"><br></div><div class="gmail_default" style="font-size:12.8px">Looking for an example to connect to subdirectory path such that</div><div class="gmail_default" style="font-size:12.8px"><br></div><div class="gmail_default" style="font-size:12.8px">[connect]</div><div class="gmail_default" style="font-size:12.8px"><div class="gmail_default">client = yes</div><div class="gmail_default">accept = <a href="http://127.0.0.1:441/" target="_blank">127.0.0.1:441</a></div><div class="gmail_default">connect = <a href="http://xxx.website.com:443/Connect/topath" target="_blank">xxx.website.com:443/Connect/<wbr>topath</a></div><div class="gmail_default">verifyChain = yes</div><div class="gmail_default">verifyPeer=yes</div><div class="gmail_default">CAfile = ca-certs.pem</div><div class="gmail_default">checkHost = <a href="http://xxx.mywebsite.com/" target="_blank">xxx.mywebsite.com</a></div><div class="gmail_default">OCSPaia = yes</div></div><div class="gmail_default" style="font-size:12.8px"><br></div><div class="gmail_default" style="font-size:12.8px"><br></div><div class="gmail_default" style="font-size:12.8px">When I only use <a href="http://xxx.mywebsite.com:443/" target="_blank">xxx.mywebsite.com:443</a> it works. However, below three url gives TCP error (Unknown TCP service)</div><div class="gmail_default" style="font-size:12.8px"><br></div><div class="gmail_default" style="font-size:12.8px"><a href="http://xxx.mywebsite.com:443/Connect/topath" target="_blank">xxx.mywebsite.com:443/Connect/<wbr>topath</a></div><div class="gmail_default" style="font-size:12.8px"><a href="http://xxx.mywebsite.com/Connect/topath" target="_blank">xxx.mywebsite.com/Connect/topa<wbr>th</a><br></div><div class="gmail_default" style="font-size:12.8px"><a href="https://xxx.mywebsite.com/Connect/topath" target="_blank">https://xxx.mywebsite.com/Conn<wbr>ect/topath</a><br></div><div class="gmail_default" style="font-size:12.8px"><br></div><div class="gmail_default" style="font-size:12.8px">My proxy connection requires to translate to the directory path of the domain.</div><div style="font-size:12.8px;font-family:arial,sans-serif"><div class="gmail-m_6277841899690730487gmail-m_6806868480266567131gmail_signature"><div dir="ltr"><p style="color:rgb(0,0,0);font-size:13.3333px"><font face="verdana, sans-serif">Regards,</font></p><p style="color:rgb(0,0,0);font-size:13.3333px"><font face="verdana, sans-serif"><strong>Shamim Zaman</strong></font></p></div></div></div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>stunnel-users mailing list</span><br><span><a href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a></span><br><span><a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a></span><br></div></blockquote></body></html>