diff options
author | terminaldweller <thabogre@gmail.com> | 2022-09-13 17:32:12 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-09-13 17:32:12 +0000 |
commit | 68e3be1f591e40925b4c5c3f57aee8d4e260ebbf (patch) | |
tree | f07a55bbb82c23c688d104ff24d61084f5f5b72b /terminaldweller.com/haproxy | |
parent | updates (diff) | |
download | scripts-68e3be1f591e40925b4c5c3f57aee8d4e260ebbf.tar.gz scripts-68e3be1f591e40925b4c5c3f57aee8d4e260ebbf.zip |
update
Diffstat (limited to 'terminaldweller.com/haproxy')
-rw-r--r-- | terminaldweller.com/haproxy/haproxy.cfg | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/terminaldweller.com/haproxy/haproxy.cfg b/terminaldweller.com/haproxy/haproxy.cfg index 825b2b3..d9ae9e3 100644 --- a/terminaldweller.com/haproxy/haproxy.cfg +++ b/terminaldweller.com/haproxy/haproxy.cfg @@ -42,6 +42,7 @@ frontend http acl editorsave-host hdr_sub(host) -i editorsave.terminaldweller.com acl devourer-host hdr_sub(host) -i mila.terminaldweller.com acl discord-host hdr_sub(host) -i discord.terminaldweller.com + acl rssgen-host hdr_sub(host) -i rssgen.terminaldweller.com acl mila-api-acl url_beg /mila acl crypto-api-acl url_beg /crypto acl http ssl_fc,not @@ -55,6 +56,7 @@ frontend http http-request redirect scheme https code 301 if http api-host !letsencrypt-acl http-request redirect scheme https code 301 if http devourer-host !letsencrypt-acl http-request redirect scheme https code 301 if http searx-host !letsencrypt-acl + # http-request redirect scheme https code 301 if http rssgen-host !letsencrypt-acl #Conditions #use_backend chat-cert-backend if letsencrypt-acl chat-host @@ -66,12 +68,14 @@ frontend http 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 + use_backend searx-backend-cert if letsencrypt-acl rssgen-host # use_backend editor-backend-cert if letsencrypt-acl editor-host use_backend certbot-backend if letsencrypt-acl !chat-host !blog-host !api-host use_backend blog-backend if blog-host use_backend mail-backend if mail-host use_backend api-backend if api-host use_backend searx-backend if searx-host + use_backend rssgen-backend if rssgen-host #use_backend chat-backend if chat-host default_backend blog-backend @@ -333,3 +337,8 @@ backend editorsave-backend-s mode tcp option ssl-hello-chk server cargo-host-s 192.99.102.52:9080 + +backend rssgen-backend + mode http + option forwardfor + server rssgen-host 130.185.121.80:3000 check |