mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 12:10:00 +00: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:
committed by
Alexandre FLAMENT
parent
72f6367e23
commit
32e8c2cf09
@@ -199,6 +199,7 @@ SCHEMA = {
|
||||
'useragent_suffix': SettingsValue(str, ''),
|
||||
'request_timeout': SettingsValue(numbers.Real, 3.0),
|
||||
'enable_http2': SettingsValue(bool, True),
|
||||
'verify': SettingsValue((bool, str), True),
|
||||
'max_request_timeout': SettingsValue((None, numbers.Real), None),
|
||||
# Magic number kept from previous code
|
||||
'pool_connections': SettingsValue(int, 100),
|
||||
|
||||
Reference in New Issue
Block a user