aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/haproxy
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-06-20 10:55:28 +0000
committerterminaldweller <thabogre@gmail.com>2022-06-20 10:55:28 +0000
commit9801d70ce0d82793432530092a8472b2d4881463 (patch)
tree10601575fe865ee41b23d1eac05189be87c509a2 /terminaldweller.com/haproxy
parentcmus (diff)
downloadscripts-9801d70ce0d82793432530092a8472b2d4881463.tar.gz
scripts-9801d70ce0d82793432530092a8472b2d4881463.zip
update
Diffstat (limited to 'terminaldweller.com/haproxy')
-rw-r--r--terminaldweller.com/haproxy/haproxy.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/terminaldweller.com/haproxy/haproxy.cfg b/terminaldweller.com/haproxy/haproxy.cfg
index 5df5050..5247f4c 100644
--- a/terminaldweller.com/haproxy/haproxy.cfg
+++ b/terminaldweller.com/haproxy/haproxy.cfg
@@ -40,6 +40,7 @@ frontend http
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 devourer-host hdr_sub(host) -i mila.terminaldweller.com
acl mila-api-acl url_beg /mila
acl crypto-api-acl url_beg /crypto
acl http ssl_fc,not
@@ -50,6 +51,7 @@ frontend http
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 cloud-one-cert if letsencrypt-acl devourer-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
@@ -186,6 +188,10 @@ backend blog-backend-cert
mode http
option forwardfor
server blog-host 192.99.102.52:80
+backend cloud-one-cert
+ mode http
+ option forwardfor
+ server cloud-one-host 130.185.121.80:80
backend blog-backend-s
mode tcp
option ssl-hello-chk