Created
February 26, 2013 14:19
-
-
Save justinvdm/5038723 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/prd-puppet.aws.praekelt.com/puppet/modules/vumi-go/files/haproxy.cfg b/prd-puppet.aws.praekelt.com/puppet/modules/vumi-go/files/haproxy.cfg | |
index 6b4a159..9767f55 100644 | |
--- a/prd-puppet.aws.praekelt.com/puppet/modules/vumi-go/files/haproxy.cfg | |
+++ b/prd-puppet.aws.praekelt.com/puppet/modules/vumi-go/files/haproxy.cfg | |
@@ -44,6 +44,9 @@ frontend http-in | |
acl is_imimobile_ussd url_beg /api/v1/imimobile/ussd | |
use_backend imimobile_ussd if is_imimobile_ussd | |
+ acl is_apposit_sms url_beg /api/v1/apposit/sms | |
+ use_backend apposit_sms if is_apposit_sms | |
+ | |
acl is_go_http_api url_beg /api/v1/go/http_api | |
use_backend go_http_api if is_go_http_api | |
@@ -73,5 +76,8 @@ backend imimobile_ussd | |
backend zambia_cellulant_ussd | |
server zambia_cellulant_ussd0 127.0.0.1:4044 weight 1 check maxconn 200 | |
+backend apposit_sms | |
+ server apposit_sms0 127.0.0.1:4045 weight 1 check maxconn 200 | |
+ | |
backend go_http_api | |
server go_http_api0 127.0.0.1:6011 weight 1 check maxconn 200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍