I have problem with rewriting of apache conf to nginx. I need to pass subject DN of client certificate to username for basic auth. Apache conf: SSLCACertificateFile /etc/apache2/ssl/ca.pem SSLVerifyClient require SSLVerifyDepth 2 <Location /> SSLOptions +FakeBasicAuth +StrictRequire Require valid-user AuthName "Authentication" AuthType Basby marek.vesely - Migration from Other Servers