Skip to content

Commit

Permalink
Certiifcate Auth Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Pchevuzinske Katz committed Oct 22, 2017
1 parent 10c594f commit c9fbfa3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -720,8 +720,11 @@ stream {

# Pass the extracted client certificate to the backend
{{ 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;
{{ else }}
proxy_set_header ssl-client-cert "";
proxy_set_header ssl-client-verify "";
{{ end }}

# Allow websocket connections
Expand Down

0 comments on commit c9fbfa3

Please sign in to comment.