Commit dfdcdf3
Fix ssl verify client compat (#1647)
* Allow ssl_verify_client when only ssl_trusted_cert is set
Fixes #1644
* Fix ssl_verify_client, add version check to remain backward compatible
Previous version of patch had a logic error; fixed this. Also made sure we're on an nginx version that supports optional ssl_client_certificate.
* Make `ssl_verify_client` optinal, retain old behaviour when `ssl_client_certificate` is defined.
---------
Co-authored-by: Eirik Øverby <ltning@anduin.net>1 parent 286b28d commit dfdcdf3
File tree
3 files changed
+5
-3
lines changed- manifests/resource
- templates/server
3 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3747 | 3747 | | |
3748 | 3748 | | |
3749 | 3749 | | |
3750 | | - | |
| 3750 | + | |
3751 | 3751 | | |
3752 | 3752 | | |
3753 | 3753 | | |
3754 | | - | |
| 3754 | + | |
3755 | 3755 | | |
3756 | 3756 | | |
3757 | 3757 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments