bunkerweb/examples/proxy-protocol/haproxy.cfg
Florian 557b1c552b
Some checks are pending
Automatic tests (DEV) / build-containers (src/api/Dockerfile, api) (push) Waiting to run
Automatic tests (DEV) / build-containers (src/autoconf/Dockerfile, autoconf) (push) Waiting to run
Automatic tests (DEV) / build-containers (src/bw/Dockerfile, bunkerweb) (push) Waiting to run
Automatic tests (DEV) / build-containers (src/all-in-one/Dockerfile, all-in-one) (push) Waiting to run
Automatic tests (DEV) / build-containers (src/scheduler/Dockerfile, scheduler) (push) Waiting to run
Automatic tests (DEV) / build-containers (src/ui/Dockerfile, ui) (push) Waiting to run
Automatic tests (DEV) / build-packages (debian-bookworm, deb) (push) Waiting to run
Automatic tests (DEV) / build-packages (debian-trixie, deb) (push) Waiting to run
Automatic tests (DEV) / build-packages (fedora-43, rpm) (push) Waiting to run
Automatic tests (DEV) / build-packages (fedora-44, rpm) (push) Waiting to run
Automatic tests (DEV) / build-packages (rhel-10, rpm) (push) Waiting to run
Automatic tests (DEV) / build-packages (rhel-8, rpm) (push) Waiting to run
Automatic tests (DEV) / build-packages (rhel-9, rpm) (push) Waiting to run
Automatic tests (DEV) / build-packages (ubuntu, deb) (push) Waiting to run
Automatic tests (DEV) / build-packages (ubuntu-jammy, deb) (push) Waiting to run
Automatic tests (DEV) / codeql (push) Waiting to run
Automatic tests (DEV) / push-dev (map[from:scheduler to:bunkerweb-scheduler]) (push) Blocked by required conditions
Automatic tests (DEV) / push-dev (map[from:all-in-one to:bunkerweb-all-in-one]) (push) Blocked by required conditions
Automatic tests (DEV) / push-dev (map[from:api to:bunkerweb-api]) (push) Blocked by required conditions
Automatic tests (DEV) / push-dev (map[from:autoconf to:bunkerweb-autoconf]) (push) Blocked by required conditions
Automatic tests (DEV) / push-dev (map[from:bunkerweb to:bunkerweb]) (push) Blocked by required conditions
Automatic tests (DEV) / push-packages (amd64, el-9, rpm, x86_64, -, 1., 9) (push) Blocked by required conditions
Automatic tests (DEV) / push-dev (map[from:ui to:bunkerweb-ui]) (push) Blocked by required conditions
Automatic tests (DEV) / push-packages (amd64, debian-bookworm, deb, amd64, _, , bookworm) (push) Blocked by required conditions
Automatic tests (DEV) / push-packages (amd64, debian-trixie, deb, amd64, _, , trixie) (push) Blocked by required conditions
Automatic tests (DEV) / push-packages (amd64, el-10, rpm, x86_64, -, 1., 10) (push) Blocked by required conditions
Automatic tests (DEV) / push-packages (amd64, el-8, rpm, x86_64, -, 1., 8) (push) Blocked by required conditions
Automatic tests (DEV) / push-packages (amd64, fedora-43, rpm, x86_64, -, 1., 43) (push) Blocked by required conditions
Automatic tests (DEV) / push-packages (amd64, fedora-44, rpm, x86_64, -, 1., 44) (push) Blocked by required conditions
Automatic tests (DEV) / push-packages (amd64, ubuntu, deb, amd64, _, , noble) (push) Blocked by required conditions
Automatic tests (DEV) / push-packages (amd64, ubuntu-jammy, deb, amd64, _, , jammy) (push) Blocked by required conditions
Automatic tests (DEV) / push-packages (dev, bunkerweb) (push) Blocked by required conditions
examples - solve potential race condition in proxy-protocol example
2026-05-18 07:57:52 +02:00

33 lines
689 B
INI

defaults
timeout connect 5s
timeout client 5s
timeout server 5s
resolvers docker
nameserver dns1 127.0.0.11:53
resolve_retries 3
timeout resolve 1s
timeout retry 1s
hold other 10s
hold refused 10s
hold nx 10s
hold timeout 10s
hold valid 10s
frontend http_front
mode tcp
bind *:8080
default_backend http_back
frontend https_front
mode tcp
bind *:8443
default_backend https_back
backend http_back
mode tcp
server server01 bunkerweb:8080 send-proxy-v2 check resolvers docker resolve-prefer ipv4
backend https_back
mode tcp
server server01 bunkerweb:8443 send-proxy-v2 check resolvers docker resolve-prefer ipv4