-1
votes
1answer
50 views

Nginx Reverse Proxy Segfault on High Traffic

Recently my load balancer with Nginx rev proxy showing the following error messages on /var/log/dmesg: [6278902.558300] nginx[15683]: segfault at ffffffffffffffff ip 0000000000457b99 sp ...
0
votes
0answers
30 views

Remap.config in Clustered mode ATS

I have a cluster of Apache Traffic Server. These are operating as reverse proxy for a set of tomcat instances, each having, say 5 servlets. I need to configure the ATS in such a way that there is ...
0
votes
1answer
141 views

Nginx byte-serving http requests

I know it is possible to use Nginx to spread requests over multiple web servers thus doing load balancing. This solution requires back-end servers having high bandwidth and is effective when dealing ...
4
votes
1answer
151 views

Preserve response headers in NGINX load balancer

I have set up NGINX as a load balancer for two Domino servers this way: http { upstream www.mydomain.com { server 1.1.1.1; server 2.2.2.2 backup; } server { listen ...
1
vote
0answers
301 views

Nginx load balancing redirects to upstream “name”

Introduction: Please read this serverfault question on nginx load balancing issue with 301 from backend. Somewhat similar to my problem, but the answer doesn't work. Nginx is redirecting to the ...
1
vote
1answer
150 views

Nginx Reverse proxy leading to Redirect loop

I have a load balancer (Nginx) and another Apache server which is hosting a wordpress blog (at /blog). I want all my traffic on my load balancer at /blog to go to this Apache server. I have the ...
0
votes
1answer
460 views

nginx geo location module configuration using geo database?

I've setup nginx as a reverse proxy for a couple of apache backend/upstream servers. Using the GeoLite database from MaxMind, I'm trying to loadbalance requests between the two servers dependent on ...
0
votes
1answer
43 views

Is a reverse proxy useful behind a load balancer and IPS

We have a Web infrastructure with a farm of Web Servers. They are behind a loadbalancer which does SSL offload. We also have a IPS and obviously a set of firewalls. Now, for security reason we have ...
0
votes
1answer
36 views

Loadbalancer passing client IP to the web server (HTTPS)

Can a loadbalacer (reverse proxy) configured with sticky sessions pass on the client IP to the Web servers if the session is SSL encrypted without doing SSL termination? Is it even possible to have ...
1
vote
1answer
262 views

Passing Client IP across Multiple Proxies

I have a load balancer in front of an Apache httpd server, which in turn is in front of a server running Tomcat6. We're using Tomcat to running Shibboleth's IdP. The follow looks like this: Client ...
1
vote
1answer
404 views

does varnish config include statement support wildcards?

After googling and briefly browsing varnish docs, I could not find a reference to this. Can I do for example the following in varnish vcl? include sites-enabled/*.vcl
2
votes
1answer
337 views

nginx failover without load balancing

I'm having trouble with configuring nginx. I'm using nignx for reverse porxy. I just want to send my all requests to my first server. But if the first server is down, i want to send requests to ...
0
votes
2answers
863 views

Reverse Proxy Server Cloud Architecture (AWS + nginx)

Currently I cache responses using nginx + fastcgi. I'm in the process of moving my app to AWS. I'm architecting a horizontally scaled approach, but trying to determine where best to put nginx + ...
1
vote
2answers
296 views

nginx proxy_cache: limit parallel requests for the same URL

We're using nginx as a reverse proxy to get files from upstream servers. The files are not dynamic – at least not on a per request basis – and are (sometimes) behind high latency. I would like to ...
3
votes
1answer
122 views

Appears to be “randomly” switching between the acl matched backend and the default backend

I have HAProxy acting as a proxy in front of: An NGinx instance An in-house load balancer in front of multiple dynamic services exposed with socket.io (websockets) My problem is that from time to ...
0
votes
2answers
263 views

Do proxies and/or load balancers alter HTTP query strings by default?

Introduction to the problem Recently I was working on some request signing algorithm and it came out the opinions about including query string in the part that is then signed are "diversified". Long ...
3
votes
1answer
484 views

Using Varnish as load balancer

Varnish already support load balancing HTTP 1.1 and Web Socket requests, e.g. https://www.varnish-cache.org/trac/wiki/LoadBalancing Since we already using Varnish for caching purpose, are there any ...
0
votes
1answer
356 views

Nginx's upstream failed, how to recover

From the doc: http://wiki.nginx.org/HttpUpstreamModule#server It said when the upstream reached max_fails within fail_timeout and it will become dead. What if my server is up sometimes after? In ...
1
vote
0answers
413 views

pfsense + haproxy + stunnel as reverse proxy with load balancing and ssl terminaltion

i have this topology as title says with a pfsense with installed haproxy and stunnel. Because i saw that haproxy can't do ssl termination i thought about stunnel. But i don't know how to set up it. My ...
0
votes
2answers
560 views

Getting 502 instead of 503 when all backend servers are down running HAProxy behind Apache

I'm testing running HAProxy as a dedicated load balancer behind Apache 2.2, replacing our current configuration where we use Apache's load balancer. In our current, Apache only, set-up if all the ...
0
votes
0answers
326 views

Software Proxy & LB options. Must be layer 3 and redundant

Currently we have good ol' LVS running in the same subnet as our webservers. We use Piranha for automatic redundancy and take full advantage of the status check scripts to not only automatically ...
2
votes
2answers
747 views

Amazon EC2 Elastic Load Balancing - strategy for zero downtime server restart

I have 5 web servers (Apache/mod_perl) behind Amazon EC2 Elastic Load Balancing, when I deploy codes to the web servers, I am doing this.. For each machine, shutdown the Apache Update the code Start ...
3
votes
1answer
576 views

Log response body in nginx

How do you log the response body (not request body) in nginx? I could not find such a variable in any of the modules (only the request body). We are using nginx as a reverse proxy/loadbalancer and ...
1
vote
1answer
2k views

nginx proxy_cache: limit parallel requests to a backend

I am using nginx as a reverse proxy to my backend(s). Configuration is pretty basic, e.g. the core is just: upstream myservice { server 127.0.0.1:80; server 123.123.123.123:80; } location / ...
2
votes
2answers
913 views

nginx load balancing issue with 301 from backend

I am running into an odd problem for which I am not sure if it is a configuration issue or a bug in nginx. My setup is a nginx reverse proxy which has Apache2 backend servers. The load balancer is ...
0
votes
1answer
104 views

Single UCC certificate on a server for SSL connections to various web sites on different servers

Background Currently we have some servers that are going to give service to a certain region, thus they have their own unshared users, although we need to establish a secure connection in order to ...
2
votes
1answer
250 views

Reverse proxy with a cross-platform-friendly API?

I'd like to provide some fail-over capacity to our web farm, so I'm looking at various open-source reverse proxy platforms (haproxy, nginx, Varnish, Cherokee, and Squid) to direct http and SSL traffic ...
1
vote
2answers
741 views

WordPress shows only internal IPs

Yesterday, I set up a WordPress "cluster." Now I have a problem: WordPress and stat-plugins only shows the users as internal IP addresses like 10.0.0.2. My nginx configuration is: upstream ...
1
vote
1answer
225 views

Salt server on 403 error

i have a frontends server with nginx, this serve the static content, and forward by proxy_pass the rest. I have a problem with the backends servers and this return 403 error randomy, this is in ...
0
votes
2answers
194 views

IIS - two servers single domain

I've got two server machines - one running Debian Linux and the other running Windows Server. They are both in the same network and have single public ip address. The port 80 is configured to serve ...
0
votes
3answers
168 views

Why reverse proxies when HA & LB are possessed by Tomcat & apache? [closed]

Anybody has any strong reason why HeartBeat, HAProxy, NGINX or any other reverse proxies needed for apache tomcat web application when we can have HA and LB with Tomcat supported Clustering with ...
1
vote
2answers
354 views

Load Balancing and Securing Server for Custom TCP Protocol on EC2

We've developed a custom TCP protocol to interface with iPhone clients over sockets and I am looking to layout our production server. We'll be running our server written in erlang on a single debian ...
3
votes
2answers
2k views

Should Nginx be at the front of HAProxy or opposite?

I have little experience in web site infrastructural architecture design. I know it might be situation specific. The web site is supposed to: 1) Need HTTPS support for some page (e.g. login page) ...
3
votes
1answer
2k views

HAProxy: Display a “BADREQ” | BADREQ's by the thousands

My HAProxy Configuration. #HA-Proxy version 1.3.22 2009/10/14 Copyright 2000-2009 Willy Tarreau <w@1wt.eu> global maxconn 10000 spread-checks 50 user haproxy group haproxy ...
1
vote
3answers
2k views

Ubuntu Pound Reverse Proxy Load Balancing Based off active server load?

I have Pound installed on a loadbalancer. It seems to work okay, except that it randomly assigns the backend server to forward the request to. I've put 1 backend machine under so much load that it ...
8
votes
6answers
3k views

What is a typical method to scale out a software load balancer?

I often see web app architectures with a SLB / reverse-proxy in front of a bunch of app servers. What happens when the number of connections to the SLB requires too many resources for a single SLB to ...
3
votes
2answers
2k views

Requests per second slower when using nginx for load balancing

I've set up nginx as a load balancer that reverse proxies requests to 2 Apache servers. I've benchmarked the setup with ab and am getting approx 35 requests per second with requests distributed ...
4
votes
4answers
3k views

What are the Differences between HAProxy and Ngnix in reverse proxy mode?

What are the differences between HAProxy and Nginx when it comes to their abilities as a reverse proxy?
1
vote
2answers
338 views

How to configure reverse proxy/loadbalancer for custom routing

Suppose I have 3 webservers behind a reverse proxy/loadbalancer. Currently I use Apache 2 but don't mind switching. Those webservers are not equal. They have different sets of local data meaning that ...
1
vote
1answer
210 views

Reverse proxy HTTP requests using database information

We have a slightly irregular web server: it serves user details based on the user's IP address. The user details are stored in several databases; each database stores information about a subset of ...
5
votes
1answer
689 views

Is it possible to use one haproxy process to load-balance more than one protocol/port?

I've got haproxy to work for us. But right now there are two haproxy processes running. One for HTTP and the other for TCP (RTMP). I've tried to configure both proxies in one configuration file but ...
2
votes
5answers
2k views

I am looking for a good load balancing (or reverse proxy) software for TCP and HTTP, any suggestions? [closed]

I am looking for a good load balancing (or reverse proxy) software for TCP and HTTP, any suggestions?
1
vote
2answers
200 views

I am looking for a good load balancing (or reverse proxy) software for TCP and HTTP, any suggestions? [duplicate]

Possible Duplicate: I am looking for a good load balancing (or reverse proxy) software for TCP and HTTP, any suggestions? I am looking for a good load balancing (or reverse proxy) software ...
1
vote
1answer
488 views

loadbalancing with difference nginx location context and backend server context

I used nginx and upstream module for load balancing with the following config upstream lb { server 127.0.0.1:8080; server 127.0.0.1:8081; } server { listen 88; server_name localhost; ...
28
votes
3answers
16k views

What is the difference between Load Balancer and Reverse Proxy?

I'm not clear about the difference between Load Balancer and Reverse Proxy. They both seems having same behavior: distributing incoming requests to backend servers.
1
vote
1answer
828 views

Reverse Proxy failover scenarios?

I currently have 2 apache web-servers that run ldirectord/heartbeat to load balance between them. Whenever I reboot one of the web-servers, or take it down for maintenance, ldirectord automatically ...
3
votes
5answers
9k views

How many reverse proxies (nginx, haproxy) is too many?

I'm setting up a HA (high availability) cluster using nginx, haproxy & apache. I've been reading great things about nginx and haproxy. People tend to choose one or the other but I like both. ...
4
votes
6answers
484 views

3million users per month on a very active cart that needs SSL. What cost effective Load balancing options for SSL acceleration are there? [closed]

A lot of the expensive 12-25k solutions seem limited to 4k SSL connections simultaneously. Loadbalancer.org has a reasonably priced solution for many HTTP requests, but is limited to 2k SSL ...