Merge pull request #1734 from rikatz/patch-1

Changes ssl-client-cert header
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-11-20 16:32:17 -03:00 committed by GitHub
commit 419fe52048
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 }}