Files
aralez/etc/main.yaml
Ara Sadoyan 0b9b0f5704 README.md
2025-04-15 19:53:07 +02:00

19 lines
1016 B
YAML

# Default configuration file for Pingora, read only once at startup
version: 1 # Pingora default setting
threads: 8 # Pingora default setting
#idle_timeout: 1000 # Pingora default setting
upstream_keepalive_pool_size: 100 # Pingora default setting
pid_file: /tmp/load_balancer.pid # Pingora default setting
error_log: /tmp/load_balancer_err.log # Pingora default setting
upgrade_sock: /tmp/load_balancer.sock # Pingora default setting
config_address: 0.0.0.0:3000 # HTTP API address for pushing upstreams.yaml from remote location
proxy_address_http: 0.0.0.0:6193 # Pingora default setting
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 # the location of upstreams file
log_level: info # info, warn, error, debug, trace, off
hc_method: HEAD # Healthcheck method (HEAD, GET, POST are supported)
hc_interval: 2 #Intervak for Healthcheck in seconds