frontend web-front
bind 0.0.0.0:80
bind 0.0.0.0:443 ssl crt /etc/haproxy/certs/haproxy.pem
mode http
redirect scheme https if !{ ssl_fc }
acl host_wiki hdr(host) -i wiki.example.com
acl is_synchrony path_beg /synchrony
use_backend confluence-synchrony if host_wiki is_synchrony
use_backend confluence-web if host_wiki
backend confluence-web
mode http
option forwardfor
server confluence 127.0.0.1:8090 check
backend confluence-synchrony
mode http
option forwardfor
server confluence 127.0.0.1:8091 check
Article Details:
Title: Hiding Confluence Behind Haproxy
Author: The VitalVas
Published: February 23, 2020
URL: https://blog.vitalvas.com/post/2020/02/23/hiding-confluence-behind-haproxy/
Tags: configuration, confluence, haproxy, networking
Printed: