TelDrive / haproxy.cfg
Mythus's picture
Upload 46 files
3502a78
raw
history blame contribute delete
518 Bytes
# global
# tune.h2.initial-window-size 1048576
# tune.h2.max-concurrent-streams 1000
defaults
mode http
log global
frontend http-in
# bind *:80
# bind *:443 ssl crt /etc/ssl/fullchain.pem alpn h2,http/1.1
bind *:8000
mode http
acl is_api path_beg /api
use_backend api-backend if is_api
default_backend frontend
backend api-backend
balance roundrobin
server go-backend server:8080 check
backend frontend
balance roundrobin
server nextjs-frontend client:3000 check