Adds support for error page in Client Certificate Authentication
This commit is contained in:
parent
54459d8d42
commit
d33b748716
6 changed files with 29 additions and 6 deletions
|
|
@ -611,6 +611,9 @@ stream {
|
|||
ssl_client_certificate {{ $server.CertificateAuth.CAFileName }};
|
||||
ssl_verify_client on;
|
||||
ssl_verify_depth {{ $server.CertificateAuth.ValidationDepth }};
|
||||
{{ if not (empty $server.CertificateAuth.ErrorPage)}}
|
||||
error_page 495 496 = {{ $server.CertificateAuth.ErrorPage }};
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ range $location := $server.Locations }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue