From 2f836e623df6e8f0f218eb3a6d0d691bee2098f9 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 6 Jun 2020 12:26:57 +0200 Subject: [PATCH] remove firefly from haproxy --- haproxy/config/haproxy.cfg | 7 ------- 1 file changed, 7 deletions(-) diff --git a/haproxy/config/haproxy.cfg b/haproxy/config/haproxy.cfg index 7cdb4a3..5c2606d 100644 --- a/haproxy/config/haproxy.cfg +++ b/haproxy/config/haproxy.cfg @@ -20,8 +20,6 @@ frontend http use_backend http_bookstack_server if { hdr(host) -i www.2li.ch } use_backend http_bookstack_server if { hdr(host) -i 2li.ch } use_backend http_mail_server if { hdr(host) -i mail.zweili.org } - #redirect scheme https code 301 - #redirect scheme https code 301 if !{ hdr(Host) -i mail.zweili.org } redirect scheme https code 301 if { hdr(host) -i git.2li.ch } !{ ssl_fc } redirect scheme https code 301 if { hdr(host) -i heimdall.2li.ch } !{ ssl_fc } redirect scheme https code 301 if { hdr(host) -i jitsi.2li.ch } !{ ssl_fc } @@ -32,7 +30,6 @@ 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 @@ -63,7 +60,6 @@ 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 @@ -101,6 +97,3 @@ 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