mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-14 02:36:21 +02:00
- Add real_ip config to settings.yml to trust proxy headers - Update limiter.toml to allow all IPs (0.0.0.0/0 and ::/0) - Re-add limiter.toml volume mount (file now exists) - Add localhost range (127.0.0.0/8) to pass_ip list
62 lines
1019 B
YAML
62 lines
1019 B
YAML
# SearXNG settings for PriceFlow
|
|
|
|
use_default_settings: true
|
|
|
|
server:
|
|
secret_key: "priceflow-searxng-secret-key-change-in-production"
|
|
limiter: false
|
|
public_instance: false
|
|
image_proxy: false
|
|
port: 8080
|
|
bind_address: "0.0.0.0"
|
|
method: "GET"
|
|
# Trust all proxies for X-Forwarded-For header
|
|
real_ip:
|
|
x_for: 1
|
|
ipv4_prefix: 32
|
|
ipv6_prefix: 128
|
|
|
|
# Disable bot detection completely
|
|
redis:
|
|
url: false
|
|
|
|
search:
|
|
safe_search: 0
|
|
autocomplete: ""
|
|
default_lang: "fr"
|
|
formats:
|
|
- html
|
|
- json
|
|
|
|
engines:
|
|
- name: google
|
|
engine: google
|
|
shortcut: g
|
|
disabled: false
|
|
|
|
- name: bing
|
|
engine: bing
|
|
shortcut: b
|
|
disabled: false
|
|
|
|
- name: duckduckgo
|
|
engine: duckduckgo
|
|
shortcut: ddg
|
|
disabled: false
|
|
|
|
- name: qwant
|
|
engine: qwant
|
|
shortcut: qw
|
|
disabled: false
|
|
|
|
outgoing:
|
|
request_timeout: 10.0
|
|
max_request_timeout: 15.0
|
|
useragent_suffix: ""
|
|
pool_connections: 100
|
|
pool_maxsize: 20
|
|
|
|
general:
|
|
debug: false
|
|
instance_name: "PriceFlow Search"
|