Questions tagged [backend]

38 questions
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
  • 1
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
  • 3
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
  • 113
  • 1
  • 1
  • 6
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…
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
  • 4
  • 18
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
  • 633
  • 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…
0
votes
1 answer

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 currently stumped on the easiest way to implement…
0
votes
1 answer

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 and before moving production version, made a test…