Changes ssl-client-cert header
This commit is contained in:
parent
adfbc8cc84
commit
e93c75f46e
1 changed files with 1 additions and 1 deletions
|
@ -757,7 +757,7 @@ stream {
|
||||||
# Pass the extracted client certificate to the backend
|
# Pass the extracted client certificate to the backend
|
||||||
{{ if not (empty $server.CertificateAuth.CAFileName) }}
|
{{ if not (empty $server.CertificateAuth.CAFileName) }}
|
||||||
{{ if $server.CertificateAuth.PassCertToUpstream }}
|
{{ 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 }}
|
{{ else }}
|
||||||
proxy_set_header ssl-client-cert "";
|
proxy_set_header ssl-client-cert "";
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue