Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [backend]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
772 views

How do I fix net::ERR_SSL_PROTOCOL_ERROR error when I put nginx in front of Tomcat?

How do I fix net::ERR_SSL_PROTOCOL_ERROR error when I put nginx in front of Tomcat? #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/...
user avatar
1 vote
2 answers
291 views

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 ...
user avatar
  • 11
0 votes
0 answers
23 views

Backend multiples apache 2.4 sync settings virtualhost

I have a set of apache 2.4 backend (Ubuntu server) with the same virtualhost and same configurations (the content is accessible through an HTTPS balancer) how could I easily replicate this ...
user avatar
1 vote
1 answer
477 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=...
user avatar
  • 111
0 votes
1 answer
46 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 ...
user avatar
  • 103
0 votes
1 answer
5k 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 ...
user avatar
0 votes
1 answer
117 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 ...
user avatar
  • 294
0 votes
1 answer
749 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 ...
user avatar
2 votes
1 answer
349 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 ...
user avatar
  • 584
0 votes
0 answers
48 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....
user avatar
3 votes
2 answers
262 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 ...
user avatar
  • 704
0 votes
0 answers
87 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 ...
user avatar
  • 101
1 vote
1 answer
15k 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 ...
user avatar
0 votes
1 answer
72 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 ...
user avatar
  • 113
0 votes
1 answer
365 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 ...
user avatar
1 vote
1 answer
45 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 ...
user avatar
1 vote
0 answers
671 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 ...
user avatar
  • 11
0 votes
1 answer
137 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: ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
2 votes
1 answer
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. ...
user avatar
  • 41
0 votes
2 answers
1k 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 ...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
0 votes
1 answer
6k 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 ...
user avatar
1 vote
1 answer
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 ...
user avatar
0 votes
1 answer
222 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 ...
user avatar
3 votes
1 answer
9k 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 ...
user avatar
  • 339
0 votes
1 answer
962 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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 633
0 votes
1 answer
683 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 ...
user avatar
2 votes
0 answers
449 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 ...
user avatar
1 vote
2 answers
246 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. ...
user avatar
2 votes
1 answer
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 ...
user avatar
  • 21
0 votes
1 answer
358 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 ...
user avatar
3 votes
1 answer
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 ...
user avatar
  • 164
0 votes
1 answer
351 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 ...
user avatar
0 votes
4 answers
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 ...
user avatar
0 votes
1 answer
818 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/...
user avatar
  • 1,107
2 votes
4 answers
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 ...
user avatar