summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-07-19 23:40:11 +0200
committerAlexandre FLAMENT <alexandre.flament@hesge.ch>2022-10-14 13:59:22 +0000
commit32e8c2cf098ae59baae5672e70436e47299bec82 (patch)
tree2b70a212b2ccc5e26e77690f8a766f6e573c3c77 /searx/settings.yml
parent72f6367e2323b2c57b2bb479dbadccd5b690a986 (diff)
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
Diffstat (limited to 'searx/settings.yml')
-rw-r--r--searx/settings.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index f21d7f05a..2304c6fe7 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -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