Changes ssl-client-cert header

This commit is contained in:
Ricardo Katz 2017-11-20 15:15:31 -02:00 committed by GitHub
parent adfbc8cc84
commit e93c75f46e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -757,7 +757,7 @@ stream {
# Pass the extracted client certificate to the backend
{{ if not (empty $server.CertificateAuth.CAFileName) }}
{{ if $server.CertificateAuth.PassCertToUpstream }}
proxy_set_header ssl-client-cert $ssl_client_raw_cert;
proxy_set_header ssl-client-cert $ssl_client_escaped_cert;
{{ else }}
proxy_set_header ssl-client-cert "";
{{ end }}