mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
searx.network: add "verify" option to the networks
Each network can define a verify option: * false to disable certificate verification * a path to existing certificate. SearXNG uses SSL_CERT_FILE and SSL_CERT_DIR when they are defined see https://www.python-httpx.org/environment_variables/#ssl_cert_file
This commit is contained in:
parent
72f6367e23
commit
32e8c2cf09
7 changed files with 58 additions and 24 deletions
|
|
@ -145,6 +145,11 @@ outgoing:
|
|||
pool_maxsize: 20
|
||||
# See https://www.python-httpx.org/http2/
|
||||
enable_http2: true
|
||||
# uncomment below section if you want to use a custom server certificate
|
||||
# see https://www.python-httpx.org/advanced/#changing-the-verification-defaults
|
||||
# and https://www.python-httpx.org/compatibility/#ssl-configuration
|
||||
# verify: ~/.mitmproxy/mitmproxy-ca-cert.cer
|
||||
#
|
||||
# uncomment below section if you want to use a proxyq see: SOCKS proxies
|
||||
# https://2.python-requests.org/en/latest/user/advanced/#proxies
|
||||
# are also supported: see
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue