haproxy Questions
1
Is it possible to set a dynamic variable which will hold the content of HTTP header e.g. Host/X-Forwarded-Host and would be used later in ACLs?
frontend web1
# ...
set-var s1(Host)
acl site1 hd...
1
Hopefully a simple question. I apologize if this has been covered before. I'm learning haproxy and overall seems very straightforward and simple. However I am curious what the difference is between...
Engdahl asked 29/8, 2016 at 15:28
3
Solved
I have 6 Linux box running RServe and serving same set of R Scripts.
192.168.0.1 : 6311
192.168.0.2 : 6311
...
...
192.168.0.6 : 6311
I connect from java to these Rserve using REngine (Rserve Ja...
Fishbein asked 20/7, 2016 at 10:46
1
Solved
Using HAProxy, I'm trying to (TCP) load balance Rserve(a service listening in TCP socket for calling R scripts) running at port 6311 in 2 nodes.
Below is my config file. When I run HAProxy, its st...
Infiltrate asked 18/8, 2016 at 10:49
1
I'm seeing these messages popping up in syslog:
Mar 10 12:51:35 db1 kernel: [5851729.958138] type=1400 audit(1457614295.823:2925931): avc: denied { name_connect } for pid=801 comm="haproxy" dest=...
2
I'm trying to match urls like: /rivers/1, /rivers/2adsfs, /rivers/sdfd2d with:
acl rivers_show path_reg ^/rivers/\w+/?
But that does seem to work. Anyone know why?
4
Solved
I am trying to run haproxy with docker. I followed the instructions here :
https://hub.docker.com/_/haproxy/
I was able to build the docker image but after trying to run it.
using
docker run -...
Halfmast asked 26/10, 2015 at 6:0
1
I have inherited a system where it has some performance issues due to network latency. We are using CentOS 5.x, and haproxy 1.5x
The reason is that there is a lot of time spent on each API request...
Coshow asked 17/1, 2016 at 15:39
2
I have spent the past few day working on creating a docker swarm on Digtital Ocean. Note: I don't want to use -link to communicate with the other apps/containers becasue they are technically consid...
Sowder asked 24/12, 2015 at 21:26
1
Solved
Does HAProxy support domain name to backend mapping for path based routing.
Currently it does support maps for vhost:
frontend xyz
<other_lines>
use_backend backend1 if { hdr(Host) -i my...
Beckham asked 16/6, 2016 at 11:49
2
We have 1 loadbalancer with 3 members behind it:
main balancer: www.website.com
members: web1.website.com, web2.website.com and web3.website.com
Currently we are using nginx on the loadbalancer, ...
Wateriness asked 3/10, 2013 at 10:21
1
Solved
We have a java web server which is able to serve content over h2c (HTTP/2 clear text)
We would like to reverse proxy connections established using h2 (i.e. standard HTTP/2 over SSL) to the java se...
Meaghan asked 15/6, 2016 at 12:27
2
Solved
I am attempting to route the following request to the appropriate servers based on the URL identified in the POST body below. I am hoping to accomplish this via a reverse proxy using HAProxy.
E.g....
1
Solved
Trying to match the following in haproxy:
acl instagiveweb hdr_beg(host) -i foo*.something.com
where the url could be foo-staging.something.com or foo.something.com
I've looked through the docs ...
2
Solved
I'm working on my personal project on "performance evaluation" of Haproxy using Docker Container. I'm programming with Python and uses iperf for traffic generation.
I created several Docker contai...
1
Solved
I am using haproxy to balance a cluster of servers. I am attempting to add a maintenance page to the haproxy configuration. I believe I can do this by defining a server declaration in the backend w...
1
Here is the situation:
I have a number of web servers, say 10. I need to use a (software) load balancer which can be implemented using a reverse proxy server, like HAProxy or Varnish. Now, All the...
Managerial asked 3/12, 2015 at 15:40
1
Solved
We have a Web application using ajax calls to a backend running on different domain (-> CORS needed).
The backend consists of a HAproxy 1.4.22 and then multiple Wildflys (running on OpenShift PaaS)...
Eadwine asked 1/12, 2015 at 14:5
2
Solved
When I open the haproxy statistics report page of my http proxy server, I saw something like this:
Cum. connections: 280073
Cum. sessions : 3802
Cum. HTTP requests: 24245
I'm not using 'appsessi...
1
Solved
Here's the situation. I have clients over a secured network (https) that talk to multiple backends. Now, I wanted to establish a reverse proxy for majorly load balancing (based on header data or co...
Saltillo asked 2/11, 2015 at 10:9
1
2
Solved
I am experiencing some problems, it seems I can't get acl's to work in tcp mode, everything works in http mode.
Here is my config.
frontend http *:80
acl http_test_acl path_beg -i /test
use_back...
Fresher asked 16/10, 2010 at 17:8
2
Solved
I'm using Haproxy with tornado for websocket. My connection working fine if i directly connect to tornado but if i use HAproxy with below config then connection closed after 50 seconds.
My Haproxy ...
1
With Node v0.12.2, the cluster module supports Round-Robin (RR) load balancing, which ensures load is more evenly distributed than the previous OS-level load balancing.
So now we are spoilt for ch...
Peeved asked 9/4, 2015 at 16:36
1
I use HAProxy which sends health check every 10 seconds.
It goes in the following fashion:
HAProxy -> server: [SYN]
server-> HAProxy : [SYN, ACK]
HAProxy->server : [RST, ACK]
My TCP se...
© 2022 - 2024 — McMap. All rights reserved.