mirror of
https://github.com/sadoyan/aralez.git
synced 2026-04-30 14:58:38 +08:00
Accept self-signed certificates for upstreams
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
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
|
||||
proxy_address_http: 0.0.0.0:6193
|
||||
proxy_address_tls: 0.0.0.0:6194 # Optionnal
|
||||
tls_certificate: etc/server.crt # Mandatory if proxy_address_tls if exists
|
||||
tls_key_file: etc/key.pem # Mandatory if proxy_address_tls if exists
|
||||
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
|
||||
#idle_timeout: 1000
|
||||
log_level: info # info, warn, error, debug, trace, off
|
||||
hc_method: HEAD
|
||||
hc_interval: 2
|
||||
|
||||
|
||||
@@ -84,4 +84,10 @@ upstreams:
|
||||
"/":
|
||||
ssl: false
|
||||
servers:
|
||||
- "192.168.1.5:8080"
|
||||
- "192.168.1.5:8080"
|
||||
127.0.0.2:
|
||||
paths:
|
||||
"/":
|
||||
ssl: false
|
||||
servers:
|
||||
- "10.0.55.171:3000"
|
||||
Reference in New Issue
Block a user