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

20 lines
346 B
Plaintext
Raw Normal View History

2022-02-10 14:47:44 +00:00
global
log stdout format raw local0 debug
defaults
mode http
log global
2022-04-01 21:02:23 +00:00
timeout http-request 120s
timeout connect 20s
timeout client 120s
timeout server 120s
2022-02-10 14:47:44 +00:00
frontend "${APP}"
mode http
bind *:"${PORT}" name "${APP}"
default_backend "${APP}"
backend "${APP}"
mode http
server "${APP}" "${APP}":"${PRIVATE_PORT}" check