diff --git a/haproxy/config/haproxy.cfg b/haproxy/config/haproxy.cfg index da5c11c..7d3ab5c 100644 --- a/haproxy/config/haproxy.cfg +++ b/haproxy/config/haproxy.cfg @@ -22,16 +22,12 @@ frontend http use_backend http_mail_server 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 } redirect scheme https code 301 if { hdr(host) -i nextcloud.2li.ch } !{ ssl_fc } redirect scheme https code 301 if { hdr(host) -i plattform.2li.ch } !{ ssl_fc } - redirect scheme https code 301 if { hdr(host) -i shaarli-andreas.2li.ch } !{ ssl_fc } - redirect scheme https code 301 if { hdr(host) -i shaarli-gecko.2li.ch } !{ ssl_fc } 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 rss-bridge.2li.ch } !{ ssl_fc } - redirect scheme https code 301 if { hdr(host) -i time.2li.ch } !{ ssl_fc } backend http_mail_server mode http @@ -51,7 +47,6 @@ frontend https # Figure out which backend (= VM) to use use_backend git_server if { req_ssl_sni -i git.2li.ch } use_backend heimdall_server if { req_ssl_sni -i heimdall.2li.ch } - use_backend jitsi_server if { req_ssl_sni -i jitsi.zweili.org } use_backend mail_server if { req_ssl_sni -i mail.zweili.org } use_backend nextcloud_server if { req_ssl_sni -i nextcloud.2li.ch } use_backend fw-nextcloud_server if { req_ssl_sni -i plattform.2li.ch } @@ -74,9 +69,6 @@ backend git_server backend heimdall_server mode tcp server server1 10.7.89.121:443 check -backend jitsi_server - mode tcp - server server1 10.7.89.105:443 check backend mail_server mode tcp server server1 10.7.89.123:443 check