Certiifcate Auth Bugfix
This commit is contained in:
parent
10c594f99f
commit
c9fbfa34e7
1 changed files with 4 additions and 1 deletions
|
@ -720,8 +720,11 @@ 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) }}
|
||||||
proxy_set_header ssl-client-cert $ssl_client_escaped_cert;
|
proxy_set_header ssl-client-cert $ssl_client_raw_cert;
|
||||||
proxy_set_header ssl-client-verify $ssl_client_verify;
|
proxy_set_header ssl-client-verify $ssl_client_verify;
|
||||||
|
{{ else }}
|
||||||
|
proxy_set_header ssl-client-cert "";
|
||||||
|
proxy_set_header ssl-client-verify "";
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
# Allow websocket connections
|
# Allow websocket connections
|
||||||
|
|
Loading…
Reference in a new issue