Skip to content

Commit

Permalink
Merge pull request #1734 from rikatz/patch-1
Browse files Browse the repository at this point in the history
Changes ssl-client-cert header
  • Loading branch information
aledbf authored Nov 20, 2017
2 parents adfbc8c + e93c75f commit 419fe52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 419fe52

Please sign in to comment.