From 61117fadaef54a2deb834ab70408b43a09008fc7 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 9 May 2020 15:55:02 +0200 Subject: [PATCH] add firefly to haproxy --- haproxy/config/haproxy.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/haproxy/config/haproxy.cfg b/haproxy/config/haproxy.cfg index 4883d6d..7cdb4a3 100644 --- a/haproxy/config/haproxy.cfg +++ b/haproxy/config/haproxy.cfg @@ -32,6 +32,7 @@ frontend http redirect scheme https code 301 if { hdr(host) -i ttrss.2li.ch } !{ ssl_fc } redirect scheme https code 301 if { hdr(host) -i wallabag.2li.ch } !{ ssl_fc } redirect scheme https code 301 if { hdr(host) -i webmail.2li.ch } !{ ssl_fc } + redirect scheme https code 301 if { hdr(host) -i firefly.zweili.org } !{ ssl_fc } backend http_mail_server mode http @@ -62,6 +63,7 @@ frontend https use_backend webmail_server if { req_ssl_sni -i webmail.2li.ch } use_backend bookstack_server if { req_ssl_sni -i www.2li.ch } use_backend bookstack_server if { req_ssl_sni -i 2li.ch } + use_backend firefly_server if { req_ssl_sni -i firefly.zweili.org } backend bookstack_server mode tcp @@ -99,3 +101,6 @@ backend wallabag_server backend webmail_server mode tcp server server1 10.7.89.110:443 check +backend firefly_server + mode tcp + server server1 10.7.89.111:443 check