| 123456789101112131415161718192021222324 |
- # HAProxy configuration template
- # {BACKEND_ADDRESS} will be replaced with the actual backend address
- global
- daemon
- log stdout local0
-
- defaults
- mode http
- timeout connect 5000ms
- timeout client 50000ms
- timeout server 50000ms
- option httplog
- log global
- listen http
- bind {{ listen_addr }}:{{ listen_port }}
- option httplog
- # TODO: add template directives
- #http-request return status 200 content-type "text/plain" string "OK"
- server dummy {{ backend_host }}:{{ backend_port }}
|