diff options
author | terminaldweller <thabogre@gmail.com> | 2022-06-10 10:56:17 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-06-10 10:56:17 +0000 |
commit | a8c27881f7e6fe7b4cd4d0f6396a4d8c5d43008c (patch) | |
tree | 9c3476400c7b8099dcc42f52e124c864d6d09282 /terminaldweller.com/haproxy | |
parent | cleaned up colo (diff) | |
download | scripts-a8c27881f7e6fe7b4cd4d0f6396a4d8c5d43008c.tar.gz scripts-a8c27881f7e6fe7b4cd4d0f6396a4d8c5d43008c.zip |
updates
Diffstat (limited to 'terminaldweller.com/haproxy')
-rw-r--r-- | terminaldweller.com/haproxy/haproxy.cfg | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/terminaldweller.com/haproxy/haproxy.cfg b/terminaldweller.com/haproxy/haproxy.cfg index 2063483..5df5050 100644 --- a/terminaldweller.com/haproxy/haproxy.cfg +++ b/terminaldweller.com/haproxy/haproxy.cfg @@ -26,7 +26,7 @@ resolvers docker_resolver resolve_retries 3 timeout retry 1000ms timeout resolve 1000ms - + #Frontends frontend http bind *:80 @@ -39,6 +39,7 @@ frontend http acl chat-host hdr_sub(host) -i chat.terminaldweller.com acl searx-host hdr_sub(host) -i searx.terminaldweller.com acl editor-host hdr_sub(host) -i editor.terminaldweller.com + acl editorsave-host hdr_sub(host) -i editorsave.terminaldweller.com acl mila-api-acl url_beg /mila acl crypto-api-acl url_beg /crypto acl http ssl_fc,not @@ -47,6 +48,8 @@ frontend http http-request redirect scheme https if http #use_backend chat-cert-backend if letsencrypt-acl chat-host use_backend blog-backend-cert if letsencrypt-acl blog-host + use_backend blog-backend-cert if letsencrypt-acl editor-host + use_backend blog-backend-cert if letsencrypt-acl editorsave-host use_backend api-crypto-backend-cert if letsencrypt-acl api-host use_backend api-mila-backend-cert if letsencrypt-acl api-host use_backend searx-backend-cert if letsencrypt-acl searx-host @@ -75,6 +78,7 @@ frontend https acl searx-host-s req.ssl_sni -i searx.terminaldweller.com acl cargo-host-s req.ssl_sni -i cargo.terminaldweller.com acl editor-host-s req.ssl_sni -i editor.terminaldweller.com + acl editorsave-host-s req.ssl_sni -i editorsave.terminaldweller.com #Conditions use_backend mail-backend-s if mail-host-s #use_backend chat-backend-s if chat-host-s @@ -85,6 +89,7 @@ frontend https #use_backend searx-backend-s if searx-host-s use_backend cargo-backend-s if cargo-host-s use_backend editor-backend-s if editor-host-s + use_backend editorsave-backend-s if editorsave-host-s frontend jabber5222 bind *:5222 @@ -278,4 +283,9 @@ backend cargo-backend-s backend editor-backend-s mode tcp option ssl-hello-chk - server cargo-host-s 130.185.121.80:7080 + server cargo-host-s 192.99.102.52:7080 + +backend editorsave-backend-s + mode tcp + option ssl-hello-chk + server cargo-host-s 192.99.102.52:9080 |