Skip to content

Commit

Permalink
Fix handling error496
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmoraisjr committed Sep 27, 2017
1 parent 645f39f commit f7494ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/haproxy/template/haproxy.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ frontend httpsfront-{{ $host }}
use_backend error495 if { ssl_c_ca_err gt 0 } || { ssl_c_err gt 0 }
use_backend error496 if !{ ssl_c_used }
{{ else }}
redirect location {{ $server.CertificateAuth.ErrorPage }} if !{ ssl_fc_has_crt } || { ssl_c_ca_err gt 0 } || { ssl_c_err gt 0 }
redirect location {{ $server.CertificateAuth.ErrorPage }} if !{ ssl_c_used } || { ssl_c_ca_err gt 0 } || { ssl_c_err gt 0 }
{{ end }}
{{ end }}
{{ if $cfg.HSTS }}
Expand Down

0 comments on commit f7494ec

Please sign in to comment.