mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #2634 from YingjieQiao/docs/cert_reqs
docs: add examples for cert-reqs
This commit is contained in:
commit
f859de498a
@ -554,6 +554,16 @@ TLS_SERVER Auto-negotiate the highest protocol version like TLS,
|
||||
|
||||
Whether client certificate is required (see stdlib ssl module's)
|
||||
|
||||
**Options:**
|
||||
|
||||
`--cert-reqs=0` --- no client veirifcation
|
||||
|
||||
`--cert-reqs=1` --- ssl.CERT_OPTIONAL
|
||||
|
||||
`--cert-reqs=2` --- ssl.CERT_REQUIRED
|
||||
|
||||
|
||||
|
||||
.. _ca-certs:
|
||||
|
||||
``ca_certs``
|
||||
|
||||
@ -2149,6 +2149,13 @@ class CertReqs(Setting):
|
||||
default = ssl.CERT_NONE
|
||||
desc = """\
|
||||
Whether client certificate is required (see stdlib ssl module's)
|
||||
============== ===========================
|
||||
`--cert-reqs=0` --- no client veirifcation
|
||||
|
||||
`--cert-reqs=1` --- ssl.CERT_OPTIONAL
|
||||
|
||||
`--cert-reqs=2` --- ssl.CERT_REQUIRED
|
||||
============== ===========================
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user