Questions tagged [backend]

40 questions
1
vote
1 answer

NGINX Hosting multiple servers in same domain

I have a website being served by Nginx and I'm trying to do something that I don't know if it's possible the way I'm trying to do but the case is: I have Application A and B made with React / Node. The application A is the main, it has the frontend…
1
vote
2 answers

Haproxy set Host Header per origin Server

We are trying to set host header per origin server, we can set per back end, but we are using default names on Azure app services, and as such the service will only respond to its own hostname, for example http-request set-header Host…
Jay
  • 11
  • 2
1
vote
1 answer

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=10.31.3.1 rightsubnet=10.31.3.0/28 …
acib708
  • 111
  • 4
1
vote
1 answer

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 example, I am using this:…
Stonecraft
  • 313
  • 3
  • 4
  • 18
0
votes
0 answers

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.com, we want to route that request to one of the…
0
votes
0 answers

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 if ($http_user_agent!~* (Google|Facebot|Twitterbot)) …
Amantel
  • 101
0
votes
1 answer

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 until the migration is complete and 100% working I…
Oli
  • 133
  • 1
  • 1
  • 7
0
votes
1 answer

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 with Apache/Tomcat using Rest calls. The client…
0
votes
1 answer

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: db-service They are both callable through the…
0
votes
2 answers

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 https, everything is fine, just the OSRM service…
Festim Cahani
  • 143
  • 1
  • 7
0
votes
1 answer

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 itself from a chain. I tried with redirect…
0
votes
1 answer

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 two dedicated servers. There are LAN between servers…
0
votes
1 answer

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 using a web frontend, those domains are registered and…
John WH Smith
  • 341
  • 5
  • 19
0
votes
1 answer

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 the time)? In one of the several case, While…
tike
  • 643
  • 1
  • 5
  • 18
0
votes
1 answer

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 speak SPDY on the front, but as near as I can tell…