Hi Ahmed,
you are in tunneling mode, only the first request will be inspected!
Please configure option http-server-close or option httpclose:
http://cbonte.github.io/haproxy-dconv/configuration-1.4.html#option%20http-server-close
Hello Lukas,
Here is the updated config file. I added http-server-close to the default:
global
daemon
maxconn 500
defaults
mode http
balance roundrobin
timeout connect 1ms
timeout server 5ms
timeout client 5000
option http-server-close
frontend http-in
Ah, now I think I see where you are going with this.
I do not have anything on any server that ends in /jboss. The whole thing
about having /jboss was simply for haproxy. What I was expecting is haproxy
gets a request that has /jboss in it, and it would think this user wants
the jboss cluster,
Thanks for the clarification Lukas.
I will have to do some work on the backend servers to accommodate for that.
I am not sure if it does switch to the immutant backend but it doesn't seem
that way from the debug mode. However, I might be missing something (I'm
still new to this)...
Thanks
On
I see, you are right. When I do a curl -I, I see that the logs match the
output of the curl immutant-ip/jboss.
Thanks again for clarifying how this works, I really appreciate that :)
On Thu, Jun 20, 2013 at 2:32 PM, Lukas Tribus luky...@hotmail.com wrote:
Hi Ahmed,
I am not sure if it does
Hello,
I found a few examples of this but can't get it to work locally. I have a
local haproxy running on port 80, and I was able to get it to work with one
backend defined. If I open the browser and type localhost it routes me to
one of the servers defined in my single backend.
Now I want to
Hello Ahmed,
Use path_beg instead of url_beg.
Also, naming should be changed as this is very unclear:
frontend http-in
bind localhost:80
acl is_webapp path_beg /webapp
acl is_jboss path_beg /jboss
use_backend webapp if is_webapp
use_backend jboss if is_jboss
Or even
I am obviously missing a slash in the inline ACL example, should be:
use_backend webapp if { path_beg /webapp }
On 06/19/2013 10:01 PM, Nenad Merdanovic wrote:
Hello Ahmed,
Use path_beg instead of url_beg.
Also, naming should be changed as this is very unclear:
frontend http-in
Hello,
I tried your suggestion and I am still getting a not found error in my
browser. It doesn't seem to map localhost/jboss to anything for example.
Just to be clear, I do not have any apps of any sort in localhost/jboss, it
is just waht I put in the settings. I assumed that haproxy will still
Hi Ahmed!
Any suggestions?
Post the complete configuration, inlcuding default, global and all backend
sections (checking mode http, httpclose, etc). If that doesn't lead to any
conclusion, we will need you to start haproxy in debug mode, capture the
request and post it on the list, so we can
Hi Ahmed,
small question/clarification request.
what happens when you directly browse to the jboss backend? like this
http://jbosserver/jboss/ do you get this same not found ?
So haproxy is then forwarding the request like it should, but what i
think you want is that haproxy will forward a
11 matches
Mail list logo