1
16.7 Legacy Series / Re: HAproxy fails to start
« on: November 15, 2016, 08:17:54 pm »
* What version of OPNsense are you using? = OPNsense 16.7.7-amd64
* What version of the HAProxy plugin is this? = 1.6
* Could you please paste the contents of /usr/local/etc/haproxy.conf?
Hope this helps
Cian
* What version of the HAProxy plugin is this? = 1.6
* Could you please paste the contents of /usr/local/etc/haproxy.conf?
Code: [Select]
global
# NOTE: Could be a security issue, but required for some feature.
uid 80
gid 80
chroot /var/haproxy
daemon
stats socket /var/run/haproxy.socket level admin
nbproc 1
tune.ssl.default-dh-param 1024
spread-checks 0
tune.chksize 16384
tune.bufsize 16384
tune.lua.maxmem 0
log /var/run/log local0 info
defaults
log global
option redispatch -1
timeout client 30s
timeout connect 30s
timeout server 30s
retries 3
# Frontend: OpenVPN ()
frontend OpenVPN
bind vpn.example.com:80 name vpn.example.com:80
mode http
option http-keep-alive
default_backend OpenVPN
# tuning options
timeout client 30s
# logging options
option httplog
# Backend: OpenVPN ()
backend OpenVPN
# health checking is DISABLED
mode http
balance source
# tuning options
timeout connect 30s
timeout server 30s
server OpenVPN 10.0.0.18:80
# statistics are DISABLED
Hope this helps
Cian