Here is the full configuration:
global
log 127.0.0.2 local0
log 127.0.0.1 local1 notice
chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid
maxconn 4000
user haproxy
group haproxy
daemon
stats socket /var/lib/haproxy/stats
stats socket *:1999 level admin
stats socket /var/run/haproxy.sock mode 600 level admin
server-state-file /etc/haproxy/haproxy.state
defaults
mode http
log global
option httplog
option dontlognull
option http-server-close
option forwardfor except 127.0.0.0/8
option redispatch
retries 3
timeout http-request 10s
timeout queue 1m
timeout connect 10s
timeout client 1m
timeout server 1m
timeout http-keep-alive 10s
timeout check 10s
maxconn 3000
listen stats
bind *:8085
http-request use-service prometheus-exporter if { path /metrics }
stats enable
stats uri /stats
stats realm HAProxy-04\ Statistics
stats auth admin:password
stats admin if TRUE
backend per_ip_and_url_rates
stick-table type binary len 8 size 1m expire 24h store http_req_rate(24h)
backend per_ip_rates
stick-table type ip size 1m expire 24h store gpc0,gpc0_rate(30s)
backend camera-test-site
mode http
balance roundrobin
option tcp-check
option forwardfor if-none
server 192.168.4.11 192.168.4.11:50085 maxconn 200
backend admin-test-site
mode http
balance roundrobin
option tcp-check
option forwardfor if-none
server 192.168.4.11 192.168.4.11:1024 maxconn 200
backend statusmonitor
mode http
balance roundrobin
option forwardfor if-none
server 192.168.4.90 192.168.4.90:80 check port 80 maxconn 200
backend nattuggla-test-site
mode http
balance roundrobin
server 192.168.4.12 192.168.4.12:8080 check port 8080 maxconn 200
frontend port443-admin-camera-nattuggla
bind *:443 ssl crt /etc/haproxy/certs/ strict-sni
mode http
maxconn 2000
acl test-site path_beg /test-site
acl admin hdr(host) -i admin.zafe.se
acl ipcamera hdr(host) -i ipcamera.zafe.se
acl nattuggla hdr(host) -i nattuggla.zafe.se
acl statusmonitor hdr(host) -i statusmonitor.zafe.se
use_backend admin-test-site if admin test-site
use_backend camera-test-site if ipcamera test-site
use_backend nattuggla-test-site if nattuggla test-site
use_backend statusmonitor if statusmonitor
Im not sure what log it is, is it the access.log, status or error?