diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2017-10-24 11:31:19 +0100 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2017-10-24 11:31:19 +0100 |
commit | 1632e8f4ed65336b529ee073eda55e433accf353 (patch) | |
tree | 1f6ab3695877ba44415173db83032846c39c333b | |
parent | a20b28f796528fa5bb44083dda44639236bab1a2 (diff) | |
download | infrastructure-pedro/haste-server.tar.gz |
baserock_frontend: Add rules for paste subdomainpedro/haste-server
-rw-r--r-- | baserock_frontend/haproxy.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/baserock_frontend/haproxy.cfg b/baserock_frontend/haproxy.cfg index 128b3724..c0983dd7 100644 --- a/baserock_frontend/haproxy.cfg +++ b/baserock_frontend/haproxy.cfg @@ -55,6 +55,9 @@ frontend https-in acl host_irclogs hdr(host) -m beg -i irclogs use_backend baserock_webserver_http if host_irclogs + acl host_paste hdr(host) -m beg -i paste + use_backend baserock_paste_http if host_paste + acl host_spec hdr(host) -m beg -i spec acl host_spec hdr(host) -m beg -i docs use_backend baserock_spec_http if host_spec @@ -96,3 +99,6 @@ backend baserock_ostree_ssh backend baserock_webserver_http server baserock_webserver 10.3.0.13:80 + +backend baserock_paste_http + server baserock_paste 10.3.0.13:7777 |