mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
2f575a97dd
Lots of things in this new LTS branch. Changes: https://www.haproxy.org/download/3.2/src/CHANGELOG ok tb
33 lines
599 B
INI
33 lines
599 B
INI
global
|
|
log 127.0.0.1 local0 debug
|
|
maxconn 1024
|
|
chroot /var/haproxy
|
|
user _haproxy
|
|
group _haproxy
|
|
daemon
|
|
pidfile /var/run/haproxy.pid
|
|
|
|
defaults
|
|
log global
|
|
mode http
|
|
option httplog
|
|
option dontlognull
|
|
option redispatch
|
|
retries 3
|
|
maxconn 2000
|
|
|
|
#crt-store main
|
|
# crt-base /etc/ssl/
|
|
# key-base /etc/ssl/private/
|
|
# load crt "example.com.fullchain.pem" key "example.com.key" alias "example.com"
|
|
|
|
frontend haproxy
|
|
bind ipv4@:80,ipv6@:80
|
|
#bind ipv4@:443,ipv6@:443 ssl
|
|
#ssl-f-use crt "@main/example.com"
|
|
default_backend httpd
|
|
|
|
backend httpd
|
|
option forwardfor
|
|
server www 127.0.0.1:8080 check
|