0
votes
1answer
228 views

Can HAProxy load balance a remote site, while the server it runs on hosts another?

Bit of an odd question, and I know it's not ideal, but still..... I currently have a virtual machine that acts as a web server using Apache. This hosts a couple of different sites, with that being ...
2
votes
1answer
752 views

Nginx + Haproxy + Thin + Rails - 503 Service Unavailable -

I don't know how troubleshoot this. I get "503 Service Unavailable" http error for all "nginx upstreams" proxy passing calls to haproxy fast_thin and slow_thin ( server 127.0.0.1:3100 and server ...
2
votes
1answer
216 views

Redirect away from www to non-www domain on nginx from behind HAproxy

I'm a bit confused. I have nginx running on a port other than 80. # part of nginx.conf server { listen 7000; include /etc/nginx/my_app.conf; } That's because my HAProxy is running on 80 on the ...
1
vote
1answer
575 views

What does “acl cdn_name hdr_beg(host) -i foor.bar.com” mean in HAProxy's configuration?

I've recently taken over an environment using HAProxy, and I'm attempting to learn the config and what it all means, but I'm finding some aspects of it are not clear. I think the above means that if ...
2
votes
1answer
3k views

haproxy as load-balancer and nginx as webserver? [closed]

EDIT: I'm interested in high availability, performance server setup. I read a lot of articles about haproxy vs. nginx vs. apache etc. and this was my conclusion: haproxy is better load-balancer ...
1
vote
1answer
1k views

haproxy domain routing

I am trying to set up haproxy to route to backends depending on the the subdomain that was used in the http request. Eg I have a regular web server running on port 8000 and an application server ...
0
votes
2answers
873 views

Measuring page response time for different servers in web farm (HAProxy?)

I'm building out a small webserver farm (IIS7.5) to serve up an internal website. One of the things I want to measure is what the HTTP response time is between user requests and the page being served. ...
0
votes
1answer
432 views

HAproxy - Redirect issue - Uri Variables?

I'm using haproxy 1.5dev3 and I was wondering if there is any possible way to grab uri variables from a request to reappend the query on the end of a redirect url? What I'm trying to do is redirect ...
2
votes
2answers
2k views

How can I get HAProxy backends to include a path

When using HAProxy for virtual hosting, I can see how to use the Host from the header at the front end to decide what backend to route to. However, is it possible to make the back end be a URL which ...