Infos:
Used Zammad version: 6.1
Used Zammad installation type: package
Operating system: Ubuntu 20.04
Browser + version: Firefox, Brave
Expected behavior:
Actual behavior:
Steps to reproduce the behavior:
1- Cname zammad’d FQDN to HAproxy
2- Config haproxy.cfg
3- Flush cache
4- Browse website
Does anyone have experience with zammad behind HAproxy?
Cheers
hdv
March 25, 2024, 12:57pm
2
I have zammad running behind haproxy but not for load balancing but as a simple proxy with SNI for routing decisions. What are you trying to accomplish?
hdv
March 25, 2024, 1:40pm
3
That’s my working config. Keep in mind that the ssl certificate ist provided by the zammad vm and not haproxy:
global
maxconn 5000
ulimit-n 16384
log 127.0.0.1 local0
uid 99
gid 99
daemon
defaults
timeout client 30s
timeout server 30s
timeout connect 5s
log global
option tcplog
frontend www
bind *:80
mode tcp
default_backend www
frontend www-ssl
bind *:443
mode tcp
tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }
default_backend cloud
# Using SNI to take routing decision
backend cloud
mode tcp
acl support req_ssl_sni -i FQDN_of_my_zammad_instance
use-server server1 if support
option ssl-hello-chk
server server1 internal_IP_of_my_zammad_instance:443
backend www
mode http
acl support hdr(host) -i FQDN_of_my_zammad_instance
use-server server1 if support
option forwardfor
server server1 internal_IP_of_my_zammad_instance:80
system
Closed
March 20, 2025, 1:40pm
4
This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.