Questions tagged [backend]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
75 views

Route traffic between two IPsec tunnels

I run a backend on DO infrastructure, call it site Yvi, that connects to a third party site Prov via an IPsec tunnel, with this libreswan config: conn prov-client ... right=$YVI_IP rightsourceip=...
0
votes
1answer
24 views

Cache request in async way

There's plenty of options to cache requests on web servers/proxys, but i'm looking for a way to made incoming requests to "wait" until the cache is ready and then response with the cache to ...
0
votes
1answer
819 views

How do I properly configure SSL on the backend between nginx and an app?

I am trying to configure re-encryption on a backend, so that traffic between nginx and the upstream app is encrypted separately from traffic between the user and nginx. For the purpose of a test ...
0
votes
1answer
31 views

Allow reverse proxy access only from the host server

I have two servers A) frontend server (ip 11.22.33.44), B) backend server (ip 22.33.44.55). Both use Debian Linux and Apache server. A) frontend server uses reverse proxy to show content of B) backend ...
0
votes
1answer
381 views

How to block direct access to backend when frontend has nginx reverse proxy

I have a frontend with an nginx reverse-proxy. Any get request made from it starting with the prefix "api" gets routed to the backend. However I've noticed that this also leads to direct calls to the ...
2
votes
1answer
204 views

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 ...
0
votes
0answers
27 views

HAProxy backend round robbin with fixed path

Please help me out, We're using HAProxy (my-proxy.com) and on the backend side, we have two endpoints - backend1:4000/foo/abc - backend2:4000/bar/def Now, when a client makes a request to my-proxy....
3
votes
2answers
252 views

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 ...
0
votes
0answers
62 views

Setting up NGINX to choosing between serving static files / proxy to backend based of user agent

I need to serve static file (index.html) with react running on it to everybody except google, facebook & twitter (plus some short list of other good bots). My idea was to use something like ...
1
vote
1answer
11k views

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 ...
0
votes
1answer
70 views

Wordpress Migration SSL mystery

Here's the story so far: Wordpress website is on SSL using Really Simple SSL and Cloudflare SSL I decided to move to DigitalOcean (from Hostgator) and don't want to change the domain name servers ...
0
votes
1answer
314 views

Why Nginx is so much faster than Apache in this environment?

We have a web application with a java backend and a tomcat frontend server. Before the tomcat there is an Apache. Both of them are on one host. The backend is on another host. Web browsers communicate ...
1
vote
1answer
41 views

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 ...
1
vote
0answers
631 views

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 ...
0
votes
1answer
121 views

Can I call a backend service instead of an instance in GCP?

I have a few compute engine instances in a Google Cloud Platform project. One is my API "api-inst" and is inside a backend-service: api-service One is my db 2db-inst" and is inside a backend-service: ...
1
vote
1answer
952 views

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 ...
2
votes
1answer
3k views

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. ...
0
votes
2answers
997 views

OSRM on Nginx over SSL

I have set up OSRM (Open source routing machine) with nginx. It works as it was supposed to. But, the problem is I can't make it work over ssl. I have set the ports 443, the site over nginx works with ...
2
votes
1answer
2k views

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 ...
0
votes
1answer
5k views

Simple redirect to HAproxy backend servers

I want to configure simple redirect with HAproxy. Desired behaviour: HAProxy receives request to example.com or https://example.com and returns https webserver start page from servers list excluding ...
1
vote
1answer
2k views

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 ...
0
votes
1answer
212 views

Use WAN as internal network

Suppose I have a little web infrastructure for serving clients that contains nginx as a frontend server, couple of backends (upstreams), a messaging system, db and so on. This stuff is located on ...
3
votes
1answer
8k views

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 ...
0
votes
1answer
946 views

Add extra zones outside the MySQL database

In need of a MySQL backend for my DNS server, I have decided to switch from Bind to PowerDNS, the MySQL backend of which is slightly more convenient. Basically : users add domains to my database ...
0
votes
1answer
1k views

varnish backend conn. failure

using: varnish-3.0.4 can anyone suggest potential cause of backend connection failure, this normally happens when N-Worker_thread goes anything above default of 100 worker_thread(not necessarily all ...
0
votes
1answer
662 views

Is there a reverse proxy that can make SPDY connections to a back-end?

...other than spdylay in --spdy-relay mode? We've got a situation where a reverse-proxy has to talk SSL to a Tomcat server, and I'd love to test the performance boost of SPDY. Apache and Nginx both ...
2
votes
0answers
416 views

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 ...
1
vote
2answers
228 views

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. ...
2
votes
1answer
8k views

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 ...
0
votes
1answer
331 views

customizable web email client backend

I have a comprehensive internal web site for my company, which handles a lot of crm functions as well as other customized functions. I am trying to integrate all needed aspects into this, and am ...
3
votes
1answer
5k views

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 ...
0
votes
1answer
340 views

Nginx and Frog CMS admin url

Short background - there is a site (powered by Frog CMS) hosted on VPS with Apache installed. To cut costs a bit, I've moved to another VPS hosting with cheaper plan. I've installed nginx, php-cgi ...
0
votes
4answers
3k views

Varnish / Apache redirecting to backend port 8080

I'm running Varnish 2 with Apache backend at 8080 on the same machine. Everything is working fine, except one problem: Sometimes Apache(?) is redirecting to backend port :8080 especially when I'm ...
0
votes
1answer
810 views

Uknown nginx Error Messages

I am getting some nginx errors as I can see them in my error.log which I am unable to understand. They look like: ERRORS: 2011/03/13 21:48:21 [crit] 14555#0: *323314343 open() "/usr/local/nginx/...
2
votes
4answers
3k views

Suggestions for VPN solution between backend servers [closed]

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 ...