Questions tagged [backend]

38 questions
3
votes
2 answers

How to mitigate backend stress generated from malicious traffic

I want to reduce, or mitigate the effects of, malicious layer 7 traffic (targeted attacks, generic evil automated crawling) which reaches my backend making it very slow and even unavailable. This regards load-based attacks as described in…
cherouvim
  • 744
  • 3
  • 18
  • 37
3
votes
1 answer

HAProxy + keepalived + multiple backend farms / virtual IP addresses

we have several backend farms (HTTP, FTP, etc), basically one farm for each customer, and I am about to rebuild our load balancing infrastructure, moving from Piranha to HAProxy. Since we are using several different backend server farms, the…
Mosh Pit
  • 339
  • 2
  • 4
  • 13
3
votes
1 answer

Proxy to "backend" service whenever a file does not exists

I'm using NGINX to serve static file. Whenever a file does not exist, I want NGINX to hit a nodejs backend service that will try to asynchronously retrieve that file. The backend service needs 3 arguments: the GUID, the size and the extension of the…
ZogStriP
  • 164
  • 1
  • 8
2
votes
1 answer

Trusted SSL in internal network without internet access

I have a Raspberry PI 3 as router for WiFi network. It can be without internet access. I am running backend for android/iOS app on this raspberry. I want to have frontend connected through SSL to exclude any spying from other people connected to…
2
votes
1 answer

How to set custom headers for 400 and 500 proxy_pass backend response in Nginx?

I need to set different values of custom response header based on response from the proxy_pass backend response code. I tried many different ways, but still can't figure out how this can be done. location /mypath { #for 200,301,302,etc "good"…
vgrinko
  • 41
  • 1
  • 5
2
votes
1 answer

HAproxy ssl re-encryption and http header modification

I want to use my Haproxy 1.6.5 as Https load balancer before my https servers but I stuck with a problem of misunderstanding . I want this behaviour: haproxy is available as https://example.com but behind it there are several https servers with…
2
votes
0 answers

Apache as Load balancer - forcing a break in persistent connection

I have setup a load balancer with Apache 2.2 via mod_proxy and mod_proxy_balancer. The load balancing works just fine, but there is one case I cannot find any configuration options for, namely, while using persistent connections to the backend…
2
votes
1 answer

nginx : backend https, proxy_pass shows ip

I am using nginx as a reverse proxy listening at port 80 (http). I am using proxy_pass to forward requests to backend http and https servers. Everything works fine for my http server but when I try to reach the https server through nginx reverse…
Vulpo
  • 21
  • 1
  • 2
2
votes
4 answers

Suggestions for VPN solution between backend servers

I am using a rackspace cloud environment to host a server farm. The problem i've run into is that Rackspace shares all internal network traffic on a single subnet (or rather, all the servers in what they call a 'huddle'). This is not ideal, as I…
Erik Funkenbusch
  • 600
  • 10
  • 27
2
votes
1 answer

Problems proxy requests to multiple backends with http2, "connection coalescing", connection reuse in google chrome

We are looking for a way to use http2, one proxy with SSL termination and multiple different backends for different subdomains. I found this explanation of the problem and I am looking for solutions that would work for haproxy. Which would probably…
nelaaro
  • 584
  • 4
  • 9
  • 25
1
vote
1 answer

Haproxy with multiple ports on fronent and backend

I have a task to configure haproxy that proxies inbound traffic on multiple ports. This is what I did after some googling: I easily figured out how to bund tho ports on frontend as the internet is full of examples. But almost no information about…
dunkerkboy
  • 13
  • 1
  • 1
  • 4
1
vote
1 answer

API backends app revision Y not the same as expected X

I have API endpoints on app engine, and after a certain deployment I found a server error. By mistake, I did a rollback, then I fixed the problem, and then I deployed again. Since then I'm having this error with this API call…
Tamer Saleh
  • 111
  • 2
1
vote
0 answers

HAproxy backend based on hostname?

I have a question about using hostnames in a haproxy backend. We have some software that runs it's own webserver. The internal url is: 192.168.x.xxx:82/Production/ I want it to be accessible from the internet. Normally not a problem. I've done this…
Ben
  • 11
  • 1
1
vote
1 answer

Varnish with separate backends and multiple domains on each backend

I'm using 3 nginx servers with multiple domains(sites) on each. Each server contains multiple Wordpress sites. Is it possible to configure Varnish and use separate backends (different IP's) and each backend has multiple domains(sites)? I've tried to…
user307871
1
vote
2 answers

load balancing and port speed/bandwidth

help me understand something about load balancing. Let's pretend we have one server as frontend and three servers as backend. All are hosted in the same datacenter using a local connectivity. Usually VPSes are served with a 1Gbps port, if you…
1
2 3