Files
aralez/etc/main.yaml
2025-04-10 13:14:59 +02:00

18 lines
550 B
YAML

version: 1
threads: 8
#idle_timeout: 1000
upstream_keepalive_pool_size: 100
pid_file: /tmp/load_balancer.pid
error_log: /tmp/load_balancer_err.log
upgrade_sock: /tmp/load_balancer.sock
config_address: 0.0.0.0:3000
proxy_address_http: 0.0.0.0:6193
proxy_address_tls: 0.0.0.0:6194 # Optional
tls_certificate: etc/server.crt # Mandatory if proxy_address_tls is set
tls_key_file: etc/key.pem # Mandatory if proxy_address_tls is set
upstreams_conf: etc/upstreams.yaml
log_level: info # info, warn, error, debug, trace, off
hc_method: HEAD
hc_interval: 2