Skip to content

Commit

Permalink
ssl_client_cert is deprecated. use ssl_client_escaped_cert. add ssl_c…
Browse files Browse the repository at this point in the history
…lient_verify to enable client certificate verification.
  • Loading branch information
auhlig committed Oct 9, 2017
1 parent 1f269d4 commit 788eb58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,8 @@ stream {

# Pass the extracted client certificate to the backend
{{ if not (empty $server.CertificateAuth.CAFileName) }}
proxy_set_header ssl-client-cert $ssl_client_cert;
proxy_set_header ssl-client-cert $ssl_client_escaped_cert;
proxy_set_header ssl-client-verify $ssl_client_verify;
{{ end }}

# Allow websocket connections
Expand Down

0 comments on commit 788eb58

Please sign in to comment.