2021-06-12 17:04:21 +01:00
|
|
|
global
|
|
|
|
log /dev/log local0
|
|
|
|
log /dev/log local1 notice
|
|
|
|
pidfile /run/haproxy.pid
|
|
|
|
stats timeout 30s
|
|
|
|
user haproxy
|
|
|
|
group haproxy
|
|
|
|
daemon
|
|
|
|
maxconn 10000
|
|
|
|
|
|
|
|
defaults
|
|
|
|
log global
|
|
|
|
mode http
|
|
|
|
option httplog
|
|
|
|
option dontlognull
|
|
|
|
|
|
|
|
# Internal LAN routes
|
|
|
|
listen http_internal
|
|
|
|
bind *:80
|
|
|
|
mode http
|
2021-07-01 22:28:25 +01:00
|
|
|
server default {{ pve_hosts.pve_docker.ip }}:80 send-proxy-v2
|
2021-06-12 17:04:21 +01:00
|
|
|
|
|
|
|
listen https_internal
|
|
|
|
bind *:443
|
|
|
|
mode tcp
|
2021-07-01 22:28:25 +01:00
|
|
|
server default {{ pve_hosts.pve_docker.ip }}:443 send-proxy-v2
|
2021-06-12 17:04:21 +01:00
|
|
|
|
|
|
|
listen matrix_internal
|
|
|
|
bind *:8448
|
|
|
|
mode tcp
|
2021-07-01 22:28:25 +01:00
|
|
|
server default {{ pve_hosts.pve_docker.ip }}:443 send-proxy-v2
|
2021-06-12 17:04:21 +01:00
|
|
|
|
|
|
|
# External routes
|
|
|
|
listen http_external
|
|
|
|
bind *:880 accept-proxy
|
|
|
|
mode http
|
2021-07-01 22:28:25 +01:00
|
|
|
server default {{ pve_hosts.pve_docker.ip }}:80 send-proxy-v2
|
2021-06-12 17:04:21 +01:00
|
|
|
|
|
|
|
listen https_external
|
|
|
|
bind *:8443 accept-proxy
|
|
|
|
mode tcp
|
2021-07-01 22:28:25 +01:00
|
|
|
server default {{ pve_hosts.pve_docker.ip }}:443 send-proxy-v2
|