example-config.ini 617 B

123456789101112131415161718192021222324252627
  1. [server]
  2. host = 0.0.0.0
  3. port = 8087
  4. domain = https://search.example.com
  5. [proxy]
  6. # Single proxy (comment out to use list_file instead)
  7. #proxy = "socks5://127.0.0.1:9050"
  8. # Or use a proxy list file (one proxy per line)
  9. #list_file = proxies.txt
  10. #max_retries = 3
  11. # Randomize proxy credentials for each request
  12. #randomize_username = true
  13. #randomize_password = true
  14. [cache]
  15. # Directory to store cached responses
  16. #dir = /tmp/omnisearch_cache
  17. # Cache TTL for search results in seconds (default: 3600 = 1 hour)
  18. #ttl_search = 3600
  19. # Cache TTL for infobox data in seconds (default: 86400 = 24 hours)
  20. #ttl_infobox = 86400