Directive only for certain alias

cicovy nginx-forum at
Wed Aug 31 13:58:40 UTC 2011

I just found out that it's not possible to add ssl_verify_client
directive in a "location". I received a suggestion from @kolbyjack on
the nginx IRC channel which helped me with this problem. The solution
was to deal with the $ssl_verify_client returning value.

if ($ssl_client_verify != SUCCESS) {
return 401;

Posted at Nginx Forum:,214566,214584#msg-214584

More information about the nginx mailing list