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

20 lines
343 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
timeout http-request 60s
timeout connect 10s
timeout client 60s
timeout server 60s
frontend "${APP}"
mode http
bind *:"${PORT}" name "${APP}"
default_backend "${APP}"
backend "${APP}"
mode http
server "${APP}" "${APP}":"${PRIVATE_PORT}" check