Questions tagged [backend]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 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 ...
0
votes
0answers
15 views

Can Rewrite/Proxy do this with the request send to backend in Apache

I have a website behind Apache. The end users access the website via http://website.com. Admins access the same website via http://admin.website.com, however the backend can only support one domain. ...
1
vote
0answers
28 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
60 views

HTTP-Server with preference for “Transfer-Encoding”-Header?

Im currently trying to setup a little showcase and Proof-of-Concept of a HTTP-Request-Smuggling-attack (https://portswigger.net/research/http-desync-attacks-request-smuggling-reborn) with a Content-...
0
votes
0answers
23 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....
0
votes
0answers
13 views

How to make a Apache2 Frontend & Express.js Backend communication

I already googled a lot, but still have not found any solution. I'm not asking for how to code that, but how to make that in generel. I have my Frontend Running with React on my Apache2 Webserver and ...
3
votes
2answers
227 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
50 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 ...
0
votes
1answer
7k 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
69 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
263 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
40 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
589 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
119 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
656 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
2k 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
796 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
4k 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
201 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 ...
2
votes
1answer
7k 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
931 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
645 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
384 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
224 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
7k 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
295 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
4k 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
334 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
2k 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
808 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 ...