Hi,<div><br></div><div>I&#39;m writing a Rails app and using nginx+passenger to serve it and I&#39;m implementing &quot;Client Certificate Authentication&quot;. For that purpose I need to setup the server using the directive <i><b>&quot;ssl_verify_client&quot;</b></i> and <b><i>&quot;ssl_client_certificate&quot;</i></b>. The problem is that I only need this configuration to happen on some specific URI (like &quot;/client_auth&quot;) and I don&#39;t know how to do that.</div>

<div>Seems that I can&#39;t put the directives enclosed by a <b><i>&quot;location /client_auth { ... }&quot;</i></b>. And if I put the directives at the server level, then every HTTPS request will look for the client cert (the browser prompts for it) and I don&#39;t want to bother users with that because this feature is only needed if you reach the mentioned URI.</div>

<div><br></div><div>I&#39;d appreciate any help on this.</div><div><br></div><div>Thanks,<br clear="all"><br>-- <br>Ariel Diaz Bermejo<br><a href="http://www.linkedin.com/in/adiazbermejo" target="_blank">http://www.linkedin.com/in/adiazbermejo</a><br>

<br><br>
</div>