Doubt about ssl_verify_client

Hi,

I’m writing a Rails app and using nginx+passenger to serve it and I’m
implementing “Client Certificate Authentication”. For that purpose I
need to
setup the server using the directive “ssl_verify_client” and *
“ssl_client_certificate”*. The problem is that I only need this
configuration to happen on some specific URI (like “/client_auth”) and I
don’t know how to do that.
Seems that I can’t put the directives enclosed by a “location
/client_auth
{ … }”
. 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’t want to bother users with that because this feature is only needed
if
you reach the mentioned URI.

I’d appreciate any help on this.

Thanks,