ssl_verify_client on; for external connections only

cschiewek nginx-forum at
Tue Dec 14 00:21:57 MSK 2010

Hi all,

I have server setup that requires a client ssl cert.  It's working fine.
 The problem is I want to allow non-routable IPs (,, and to connect without the client cert. 
I've tried moving the ssl_verify_client into an if block that checks the
request address, but nginx complains that it's not allowed there.

Anyway have any thoughts on how I could accomplish this?



Posted at Nginx Forum:,158348,158348#msg-158348

More information about the nginx mailing list