Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2020
808
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. general:
  2. debug : False # Debug mode, only for development
  3. instance_name : "searx" # displayed name
  4.  
  5. search:
  6. safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
  7. autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off by default
  8. default_lang : "" # Default search language - leave blank to detect from browser information or use codes from 'languages.py'
  9. ban_time_on_fail : 5 # ban time in seconds after engine errors
  10. max_ban_time_on_fail : 120 # max ban time in seconds after engine errors
  11.  
  12. server:
  13. port : 8888
  14. bind_address : "ip сервера" # address to listen on
  15. secret_key : "xxxxxxxxxxxxxxxxxxxxxxxxxx" # change this!
  16. base_url : "https://example.com/search/ # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
  17. image_proxy : True # Proxying image results through searx
  18. http_protocol_version : "1.0" # 1.0 and 1.1 are supported
  19.  
  20. ui:
  21. static_path : "" # Custom static path - leave it blank if you didn't change
  22. templates_path : "" # Custom templates path - leave it blank if you didn't change
  23. default_theme : oscar # ui theme
  24. default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
  25. theme_args :
  26. oscar_style : logicodev # default style of oscar
  27.  
  28. # searx supports result proxification using an external service: https://github.com/asciimoo/morty
  29. # uncomment below section if you have running morty proxy
  30. # the key is base64 encoded (keep the !!binary notation)
  31. # Note: since commit af77ec3, morty accepts a base64 encoded key.
  32. #result_proxy:
  33. # url : http://127.0.0.1:3000/
  34. # key : !!binary "your_morty_proxy_key"
  35.  
  36. outgoing: # communication with search engines
  37. request_timeout : 2.0 # default timeout in seconds, can be override by engine
  38. # max_request_timeout: 10.0 # the maximum timeout in seconds
  39. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  40. pool_connections : 100 # Number of different hosts
  41. pool_maxsize : 10 # Number of simultaneous requests by host
  42. # uncomment below section if you want to use a proxy
  43. # see http://docs.python-requests.org/en/latest/user/advanced/#proxies
  44. # SOCKS proxies are also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks
  45. #proxies :
  46. # http : http://127.0.0.1:8080
  47. # https: http://127.0.0.1:8080
  48. # uncomment below section only if you have more than one network interface
  49. # which can be the source of outgoing search requests
  50. # source_ips:
  51. # - 1.1.1.1
  52. # - 1.1.1.2
  53.  
  54. engines:
  55. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement