lasthourcloud/data/haproxy/haproxy.cfg-tcp.template

16 lines
249 B
Plaintext
Raw Normal View History

2022-02-10 14:47:44 +00:00
global
log stdout format raw local0 debug
defaults
mode tcp
log global
frontend "${APP}"
mode tcp
bind *:"${PORT}" name "${APP}"
default_backend "${APP}"
backend "${APP}"
mode tcp
server "${APP}" "${APP}":"${PRIVATE_PORT}" check