jca 667206481b Maintainer update to haproxy-1.6.2
Upstream removed the example config file, this update adds a new,
simpler one.

Also fix a time_t printing warning while here.
2015-11-10 11:56:54 +00:00

26 lines
358 B
INI

global
log 127.0.0.1 local0 debug
maxconn 1024
chroot /var/haproxy
uid 604
gid 604
daemon
pidfile /var/run/haproxy.pid
defaults
log global
mode http
option httplog
option dontlognull
option redispatch
retries 3
maxconn 2000
frontend haproxy
bind *:80
default_backend httpd
backend httpd
option forwardfor
server www 127.0.0.1:8080 check