diff options
author | terminaldweller <thabogre@gmail.com> | 2023-01-04 05:29:55 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-01-04 05:29:55 +0000 |
commit | 0775e0c9f094bcba05284bc73b336151cf6a9e51 (patch) | |
tree | aeefb0fe6f79a394d8f4c8b2683b328f0dcad38c /terminaldweller.com/haproxy | |
parent | update (diff) | |
download | scripts-0775e0c9f094bcba05284bc73b336151cf6a9e51.tar.gz scripts-0775e0c9f094bcba05284bc73b336151cf6a9e51.zip |
update
Diffstat (limited to 'terminaldweller.com/haproxy')
-rw-r--r-- | terminaldweller.com/haproxy/haproxy.cfg | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/terminaldweller.com/haproxy/haproxy.cfg b/terminaldweller.com/haproxy/haproxy.cfg index feee75c..57f79f4 100644 --- a/terminaldweller.com/haproxy/haproxy.cfg +++ b/terminaldweller.com/haproxy/haproxy.cfg @@ -48,6 +48,7 @@ frontend http acl browsh-host hdr_sub(host) -i browsh.terminaldweller.com acl main-host hdr_sub(host) -i terminaldweller.com acl doh2-host hdr_sub(shost) -i doh2.terminaldweller.com + acl pastebin-host hdr_sub(shost) -i pastebin.terminaldweller.com acl mila-api-acl url_beg /mila acl crypto-api-acl url_beg /crypto acl http ssl_fc,not @@ -69,6 +70,7 @@ frontend http http-request redirect scheme https code 301 if http rssgen-host !letsencrypt-acl http-request redirect scheme https code 301 if http main-host !letsencrypt-acl http-request redirect scheme https code 301 if http doh2-host !letsencrypt-acl + http-request redirect scheme https code 301 if http pastebin-host !letsencrypt-acl #Conditions use_backend blog-backend-cert if letsencrypt-acl blog-host @@ -84,6 +86,7 @@ frontend http use_backend searx-backend-cert if letsencrypt-acl cargo-host use_backend vpn6-cert-backend if letsencrypt-acl browsh-host use_backend searx-backend-cert if letsencrypt-acl main-host + use_backend searx-backend-cert if letsencrypt-acl pastebin-host use_backend doh2-backend-cert if letsencrypt-acl doh2-host # use_backend editor-backend-cert if letsencrypt-acl editor-host use_backend certbot-backend if letsencrypt-acl !jabber-host !blog-host !api-host @@ -121,6 +124,7 @@ frontend https acl browsh-host-s req.ssl_sni -i browsh.terminaldweller.com acl main-host-s req.ssl_sni -i terminaldweller.com acl doh2-host-s req.ssl_sni -i doh2.terminaldweller.com + acl pastebin-host-s req.ssl_sni -i pastebin.terminaldweller.com #Conditions use_backend mail-backend-s if mail-host-s #use_backend chat-backend-s if chat-host-s @@ -138,6 +142,7 @@ frontend https use_backend browsh-backend-s if browsh-host-s use_backend main-backend-s if main-host-s use_backend doh2-backend-s if doh2-host-s + use_backend pastebin-backend-s if pastebin-host-s #frontend jabber5222 # bind *:5222 @@ -412,7 +417,13 @@ backend main-backend-s backend doh2-backend-cert mode http server doh2-backend-host 185.130.47.81:80 + backend doh2-backend-s mode tcp option tcp-check server doh2-backend-s 185.130.47.81:443 + +backend pastebin-backend-s + mode tcp + option tcp-check + server main-host-s 185.130.47.208:3010 |