New answers tagged haproxy
0
Instead of using hdr_beg with what seems to be the FQDN, try hdr_dom(host).
2
Maybe it helps if you add an explicit URL to your httpchk - per default it uses an http OPTION on /. Also you have to add the "check" keyword to your host definitions (http://haproxy.1wt.eu/download/1.3/doc/haproxy-en.txt section 3.1)
backend app
timeout server 50000ms
mode http
balance roundrobin
option httpchk HEAD /some/valid/url
...
0
OpenAM login screen will send your browser a http redirect after login. The redirect is based on the HTTP host header from the original post to your protected application.
Try setting the alternate port number under advanced tab of openam agent configuration.
1
We experienced the same issue today. I'm not sure about #1 but I believe the second problem is that the reconnection delay is never reset in amqp_listener.py and should be done so before the protocol is built in buildProtocol. I submitted a pull request here: https://github.com/graphite-project/carbon/pull/102. Hope this helps.
Before the change (exceptions ...
10
The TCP RTO (receive timeout) starts at three seconds. (RFC 1122) If a transmitted packet hasn't had an acknowledgement returned in that time, then it's assumed to be lost and retransmitted. This is almost certainly what the author is referring to. (Note that the RTO gets tuned up or down dynamically by various algorithms, outside the scope of this ...
1
HAProxy is not part of the general subscription.
You'll need to add the "RHEL Server Load Balancer (v. 6 for 64-bit x86_64)"
channel to your entitlements before you can "yum install haproxy"
0
I implemented a solution last year to integrate HAProxy with pfSense in a way that it harnesses all features of HAProxy and maintains a good isolation with pfSense. So that it is a viable option for production environments. SSL is terminated on HAProxy. I installed HAProxy inside a jail in pfSense using ezjail and Ports Collection. That way it is very easy ...
1
You might be able to get this to work by checking hdr_dom (https://code.google.com/p/haproxy-docs/wiki/MatchingLayer7) instead of hdr:
acl is_api hdr_dom(host) -i api.example.com
acl is_app hdr_dom(host) -i app.example.com
Just be careful because I believe this would also match things like "otherstuff.api.example.com".
0
This is possible with HAProxy ACLs. You need to setup 2 backends, one for each block, then in the frontend create 2 acls, one for each backend.
Your frontend block would look something like this
acl block_7 src 192.167.0.0/16
acl block_8 src 192.168.0.0/16
use backend block_7_hosts if block_7
use backend block_8_hosts if block_8
Then ...
Top 50 recent answers are included
