aboutsummaryrefslogtreecommitdiff
path: root/example-config.ini
blob: 5145d8837b4977366f76aabc6fadc72d130c2a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[server]
host = 0.0.0.0
port = 8087
domain = https://search.example.com

[proxy]
# Single proxy (comment out to use list_file instead)
#proxy = "socks5://127.0.0.1:9050"

# Or use a proxy list file (one proxy per line)
#list_file = proxies.txt

#max_retries = 3

# Randomize proxy credentials for each request
#randomize_username = true
#randomize_password = true

[cache]
# Directory to store cached responses
#dir = /tmp/omnisearch_cache

# Cache TTL for search results in seconds (default: 3600 = 1 hour)
#ttl_search = 3600

# Cache TTL for infobox data in seconds (default: 86400 = 24 hours)
#ttl_infobox = 86400

[engines]
# Use * for all engines, or specify comma-separated list (e.g., ddg,yahoo)
# Use *,-engine to exclude specific engines (e.g., *,-startpage)
# Available engines: ddg, startpage, yahoo, mojeek
engines="*"

[rate_limit]
# Rate limit searches per interval

# /search
#search_requests = 10
#search_interval = 60

# /images
#images_requests = 20
#images_interval = 60