Files
web/deployment/haproxy.cfg
T

27 lines
494 B
INI

global
maxconn 4096
# Start as root to bind 80/443, then drop privileges.
user haproxy
group haproxy
defaults
no log
mode tcp
timeout connect 5s
timeout client 2m
timeout server 2m
frontend fe_http_80
bind 0.0.0.0:80
default_backend be_caddy_http
backend be_caddy_http
server caddy_http 127.0.0.1:8080 send-proxy-v2
frontend fe_https_443
bind 0.0.0.0:443
default_backend be_caddy_https
backend be_caddy_https
server caddy_https 127.0.0.1:8443 send-proxy-v2