summaryrefslogtreecommitdiff
path: root/baserock_frontend
diff options
context:
space:
mode:
authorPedro Alvarez <palvarez89@gmail.com>2015-12-20 04:38:04 +0100
committerPedro Alvarez <palvarez89@gmail.com>2015-12-20 04:38:04 +0100
commit7affa8389333d211aee8d66bf492f986e09ea0f3 (patch)
treec00b68b50e51027655cc1d48d687d118e7bba1c0 /baserock_frontend
parent178977d231149d99ea90a63955c4467ba405fe6a (diff)
downloadinfrastructure-7affa8389333d211aee8d66bf492f986e09ea0f3.tar.gz
baserock_frontend: Add configuration for download.baserock.org
Change-Id: I06e0191d072fc6561da00047e69ce6c3e20ea8cb
Diffstat (limited to 'baserock_frontend')
-rw-r--r--baserock_frontend/haproxy.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/baserock_frontend/haproxy.cfg b/baserock_frontend/haproxy.cfg
index 5ebbc031..e434c029 100644
--- a/baserock_frontend/haproxy.cfg
+++ b/baserock_frontend/haproxy.cfg
@@ -62,6 +62,9 @@ frontend https-in
acl host_mason_x86_64 hdr(host) -m beg -i mason-x86-64
use_backend baserock_mason_x86_64_http if host_mason_x86_64
+ acl host_download hdr(host) -m beg -i download
+ use_backend baserock_webserver_http if host_download
+
use_backend baserock_openid_provider_http if { hdr(host) -m beg -i openid }
frontend ssh-in:
@@ -95,3 +98,6 @@ backend baserock_mason_x86_64_http
backend baserock_openid_provider_http
server baserock_openid_provider 192.168.222.67:80
+
+backend baserock_webserver_http
+ server baserock_webserver 192.168.222.127:80