Revert "haproxy: remove fw-plattform"

This reverts commit 3c9466105b.
This commit is contained in:
Andreas Zweili 2021-02-01 20:15:16 +01:00
parent 3c010685b4
commit e11e166b29
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,7 @@ frontend http
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 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 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 }
@ -45,6 +46,7 @@ frontend https
use_backend heimdall_server if { req_ssl_sni -i heimdall.2li.ch }
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 }
use_backend ttrss_server if { req_ssl_sni -i ttrss.2li.ch }
use_backend wallabag_server if { req_ssl_sni -i wallabag.2li.ch }
use_backend webmail_server if { req_ssl_sni -i webmail.2li.ch }
@ -79,3 +81,6 @@ backend webmail_server
backend rss-bridge_server
mode tcp
server server1 10.7.89.111:443 check
backend fw-nextcloud_server
mode tcp
server server1 10.7.89.114:443 check