Skip to main content

Questions tagged [reverse-proxy]

A reverse proxy is a type of proxy server that fetches resources from a specific defined set of servers for a client. It is used in cases when there is an advantage to not exposing the web server with the content directly whether it be for security reasons or because of a lack of available public IP addresses.

Filter by
Sorted by
Tagged with
0 votes
0 answers
827 views

Reverse Proxy (NGinx) with captcha

I am trying to prevent some brute force attacks on an web app by having a captcha before the login page. The application itself is not modifiable by me, so I cannot change the login form. I could put ...
schube's user avatar
  • 183
0 votes
1 answer
799 views

Setting up SSL in Apache2 with backend docker app

I'm running Ubuntu server (18.04) on an Azure VM, with Apache2 (2.4.29). I have a backend app running in docker on the same host that is called by my site. This works easy enough without SSL. I added ...
TonyD's user avatar
  • 1
1 vote
1 answer
6k views

AH01114: HTTP: failed to make connection to backend: localhost

I know some of you might think that its a little bit off topic here, but am not sure whether its fault of server OR fault of my config file, so... I made React.js project , but it needs server side ...
Y U K I M U R A's user avatar
0 votes
0 answers
337 views

Proxy apache2 to container gives 404 error

I am new to apache2 I've followed every tutorial on the internet, I think I've seen every question but it didnt help. The problem is that My container contains flask app. Container listens to 45654 ...
Innokesha's user avatar
1 vote
0 answers
580 views

Apache ProxyPass only proxying URL, but not page assets

So I currently have a proxy configuration that looks like the following: ProxyPassMatch ^/foo/bar/(.+)$ https://xyz.domain.net/$1 ProxyPassReverse ^/foo/bar/(.+)$ https://xyz.domain.net/$1 ...
Ress's user avatar
  • 57
2 votes
2 answers
536 views

Nginx UDP proxy shared connection is busy

We are proxying UDP packets for a game server through a Nginx reverse proxy. Clients timeout very often because the Nginx can't handle the requests. Initially it works flawlessly, but when more ...
hachan29's user avatar
1 vote
2 answers
720 views

Why does the browser client receive responses from an NGINX server at my remote address if my NGINX server is down?

I am observing some strange behavior I cannot explain. I am using chrome Version 110.0.5481.77 (Official Build) (64-bit) I am running nginx/1.22.1 to serve a bundled front end app. When I request ...
Anthony O's user avatar
  • 111
1 vote
2 answers
2k views

nginx reverse proxy with docker containers and specific nested locations

I would like to set up nginx as a reverse proxy with multiple apps on docker containers permanently residing under specific locations, e.g.: https://sub.example.com/wiki https://sub.example.com/app1 ...
user21101711's user avatar
1 vote
0 answers
553 views

Apache reverse proxy websockets correct way

<Client A> <---> <Server A: reverse proxy> <----> <Server B> I don't want the Client A to connect to Server B directly, well it shouldn't that's why I'm using a reverse ...
Steve Moretz's user avatar
0 votes
0 answers
1k views

Nginx warning: client sent invalid header line: "server_port: 80" while reading client request headers

I have an Nginx instance proxy_passing an HTTP request to an HTTPS API. These some configs like: # some $args rewrites and headers proxy_pass_request_headers on; proxy_set_header Host $target_host; ...
jiyinyiyong's user avatar
0 votes
1 answer
544 views

nginx returns 499 with 110: Connection timed out in error log

I can't get over the nginx 60s timeout. If I access the node server directly at 8000 it works, through nginx as reverse proxy it always times out after 60s. I have tried every timeout setting I have ...
OGordo's user avatar
  • 1
0 votes
1 answer
692 views

GRPC streaming not working when forwarded via Apache reverse proxy

I have a gRPC service and I want to deploy it behind an Apache reverse proxy. The apache configuration is similar to the following: LoadModule http2_module modules/mod_http2.so LoadModule ...
crazyman's user avatar
0 votes
1 answer
913 views

apache reverse proxy not working

I am using my apache container as a reverse-proxy and trying to access one of my VM services. It is working when I configure like, ProxyPassMatch "^/(.*)$" "https://host1:443/$1" ...
user2664107's user avatar
0 votes
1 answer
61 views

apache proxy, protect folder, exclude file

I'm using apache as a reverse proxy and I was wondering how can I protect a folder but exclude a file within that folder. For example if I use <Proxy http://192.168.1.10/myfolder> Require ip x....
stocton12's user avatar
0 votes
0 answers
162 views

apache2 reverse proxy, how to serve multiple domains with backend recognizing only 1 valid uri

I have an Apache reverse proxy set up and my backend service is configured on a specific static ServiceUri="site.com". I would like requests coming for multiple domains a.site.com/data, b....
Mnemosyne's user avatar
  • 131
0 votes
1 answer
110 views

Configure SSL for Apache Reverse Proxy

I want to redirect HTTPS connections to my domain towards a unique subdomain using Apache2 reverse proxy. I want all the connections that come to a.example.com to be redirected towards $random$.b....
Mnemosyne's user avatar
  • 131
0 votes
1 answer
199 views

Apache serve service from local host on subdomain

I am trying to use Apache to serve multiple sites at the same time, the structure I want to obtain is composed by a main site at example.com and use the subdomains radarr.example.com and sonarr....
Riccardo Barbieri's user avatar
1 vote
0 answers
570 views

How can I proxy pass applications to locations different from "/" with Apache?

Let's say I have three applications on my server: node-red (1880), jupyter (8888) and pgadmin (5433)... I can successfully create a localhost proxy pass with them individually as the following: <...
raylight's user avatar
  • 111
1 vote
1 answer
2k views

Nginx Reverse-Proxy Only Works On Internal Network

I wanted to accomplish the following goal and get it working on an internal network, however, this doesn't work externally. Goal: Deploying nginx to reverse proxy n servers with different private ip ...
MRK's user avatar
  • 11
0 votes
1 answer
254 views

Reverse Proxy - Using Subdirectory

I cant use cname, therefore i would like to split my services into subdirectorys. location /ha/ { proxy_pass http://localhost:58123/; #local IP of my HA server ...
JokerGermany's user avatar
0 votes
2 answers
465 views

Does apache ProxyPass handle tls for websocket too?

I'm new to proxypass, Let's say this is our config: <IfModule mod_ssl.c> <VirtualHost *:443> # The ServerName directive sets the request scheme, hostname and port that # ...
Steve Moretz's user avatar
1 vote
0 answers
3k views

v2ray and connect to a proxy server

i want to use a squid proxy to make a http proxy between 2 servers. one of my vps(num 1) is in iran (centos 7) and another one(num 2) is other country. i was installed squid proxy on vps 2 and v2ray ...
Omid.akz's user avatar
0 votes
1 answer
449 views

Apache Reverse Proxy setup with some exemptions

I would like to install Mattermost on my server also running ISPConfig hosting software. ISPConfig has a mechanism to automatically obtain and install Letsencrypt certificates based on the hostname. ...
TomS's user avatar
  • 185
1 vote
0 answers
318 views

Nginx - transparently redirect traffic into another server block

I have a NGINX configuration with two virtual hosts (server {} blocks): one serving a human-readable site on the primary domain, and the other acting as a reverse-proxy for a specialized service on a ...
intelfx's user avatar
  • 144
0 votes
1 answer
272 views

How to set request timeouts at every network hop

I'm trying to wrap my head around network timeouts and how they should be set for each hop of a given request. For simplicity, I'm not looking at a breakdown of connect vs. read vs. write timeouts and ...
caccialdo's user avatar
0 votes
1 answer
2k views

Squid Reverse Proxy with SSL

I'm trying to use squid as a reverse proxy in front of a single website, to decrypt the SSL on the proxy and then to encrypt the connection to the webserver (this is in order to use squid as an ICAP ...
user3811862's user avatar
0 votes
1 answer
449 views

How to remove trailing slash in nginx's passproxy?

I would like to access it as follows using nginx proxy pass. proxy.com/api/ -> proxy.com/api (connected site is example.com) proxy.com/api -> proxy.com/api (connected site is example.com) The ...
Joker's user avatar
  • 1
0 votes
0 answers
650 views

Apache 2.4 Reverse Proxy using HTTPd

I created an AWS EC2 instance with a public IP, lets call it 100.0.0.0. I added a rule for the security group to allow incoming HTTP traffic on port 80 for any IPv4. I added to the config file in: /...
Travis's user avatar
  • 101
3 votes
1 answer
3k views

Docker NGINX reverse proxy does not work with one docker service, but works with another

I'm trying to run a service Mautic (https://hub.docker.com/r/mautic/mautic) behind NGINX reverse proxy in Docker and can't figure out what I am doing wrong. A little preamble to introduce my setup: ...
Polynook's user avatar
1 vote
1 answer
3k views

Websocket with Apache 2.4.52 and Ubuntu

I am trying to follow tutorial located here for messaging system using RatChet PHP https://www.twilio.com/blog/create-php-websocket-server-build-real-time-even-driven-application I have my domain ...
Maitri Rathod's user avatar
0 votes
1 answer
90 views

How can I port an Apache RewriteCond and RewriteRule to ngnix?

I have to convert an Apache reverse-proxy configuration that uses RewriteCond and RewriteRule, to Nginx. How can I convert something like this to nginx configuration? (this is in the main/only <...
Robert Campbell's user avatar
0 votes
1 answer
83 views

How do web clients access vpn protected servers?

I'm not talking about joining the VPN network through a client like OpenVPN, I'm talking about the user's connection to the VPN server, for example: Normal flow: Web Client >>>> Server (No ...
srluccasonline's user avatar
0 votes
1 answer
217 views

nginx location proxy pass to another port path

I have two docker containers running for react (http://localhost:90) and nextjs (my-next-app.com / http://localhost:85) applications, and I have Nginx configuration similar to the following server ...
Githendra McShane's user avatar
0 votes
1 answer
197 views

Check response of one backend before proxying to another

I have two backends in two locations behind an Nginx frontend. Backend A implements authentication with OAuth. Backend B doesn't. I think a lazy way of adding authentication for location B would be to ...
Daniel Darabos's user avatar
0 votes
1 answer
1k views

Configuring Nginx and Tomcat to Access HTTPS content

I'm using nginx as a load balancer and reverse proxy for Java spring boot + Angular application on tomcat. I've total 3 servers, 1 has nginx and other two has application hosted on it. I've configured ...
Virendra's user avatar
  • 101
0 votes
1 answer
2k views

enable gzip compression on nginx give me long time server response

I have a web application running on a very low web server (CPU: ARM926EJ-S, RAM: 128MB), when I enabled gzip on nginx, I found that the server takes longer to respond, and I don't know if there is ...
Unknown's user avatar
  • 101
0 votes
1 answer
15k views

Nginx http to http redirect 400 The plain HTTP request was sent to HTTPS port

i have an app that is exposed at http on port http://app1.internal.example.com:8080 and https on port https://app1.internal.example.com:8443 so i have the 80 and 443 nginx server block to help ...
uberrebu's user avatar
  • 523
0 votes
0 answers
303 views

IIS Reverse Proxy with same hostheader under condition on 2 internal frontend server

a reverse proxy should be simple i thought but i encountered a problem. i try to accomplish the following: ive 2 webfrontends (serverA, ServerB) which hosting a webapplication contoso.local. then ive ...
danielW's user avatar
0 votes
0 answers
39 views

Configure 2 Nginx reverseproxy with SSL

I'm tryng do do something with 2 nginx. I have a wordpress : mywebsite.com I need this infra : I have some difficulties to configure ssl with let'sencrypt. Nginx1 : 198.198.198.2 Nginx2 : 241.236....
FullFullTwist's user avatar
0 votes
1 answer
448 views

NGINX Block traffic to my home IP (default new website page or first subdomain), requiring a valid domain name hosted at home

My goal: disable/drop traffic to just home IP without domain in request. Issue: Currently, if I (or anyone else) accesses my home IP via HTTP or HTTPS, it will show the first subdomain that is ...
TheNoob's user avatar
1 vote
0 answers
125 views

NGINX Buffer parameters causing issues with Python requests library

'm having problems uploading files through the Python requests library when I activate the parameters below in my NGINX proxy (where the connection goes) proxy_buffering off; proxy_request_buffering ...
caiofreitasx's user avatar
0 votes
0 answers
110 views

Artifactory sends wrong reset password URL

When a user uses the "Forgot password", they are sent a URL to the reset-password page in Artifactory. In our case the URL contains an extra /ui, like this https://external-hostname/ui/ui/...
pagerbak's user avatar
2 votes
0 answers
281 views

Rewrite cname host mapping url paths with nginx

There is currently an app that is using cname host mapping with a third party app the hostname for the third party app is mycompany.partner.com and the current cname host map under my domain help....
uberrebu's user avatar
  • 523
0 votes
1 answer
1k views

IIS/ARR reverse proxy negotiate pass-through

I am having hard time with IIS/ARR reverse proxying to WildFly application server. On Linux we use web-servers to offload HTTPS, authentication and security functions from application server, so the ...
kab00m's user avatar
  • 518
1 vote
0 answers
114 views

Reverse Proxy config from Nginx to Ubuntu Apache2

The following are 2 corresponding sets of config statements. The first one is for Nginx and the second one for Apache2 servers. The Ubuntu Apache2 config code is modelled after the Nginx code to ...
Stanley's user avatar
  • 119
0 votes
1 answer
421 views

nginx: [warn] server name has suspicious symbols with long domain redirect

What is the best way in Nginx to redirect two Long domains URLS, I would like to configure a redirect between two domains like this: I'm sure this has been asked before, but I can't find a solution ...
Santosh Baruah's user avatar
0 votes
1 answer
173 views

nginx "deny all" location not working when clicking href-element

I'm trying to deny acess to the root url of a proxied web application. Only the path /images is supposed to be accessible from the internet. My nginx configuration for the page looks like this: ... ...
realzeusey's user avatar
1 vote
1 answer
428 views

Routing HTTP/HTTPS traffic from one Linux server to another Linux server

The DNS for the domain.com is pointing at Server1 (it has a public ip address). The webserver is running on Server 2 (no public IP address, but connected to Server1 via OVPN). Is it possible to route ...
Steve's user avatar
  • 31
1 vote
1 answer
364 views

Pointing a sub domain to an ip with a port (apache)

I've been having an issue for a while and none of the answers for similar posts have been working. My Issue: I have a domain running on a linux server (using apache): example.net; I have a second ...
Quasar's user avatar
  • 11
3 votes
1 answer
810 views

Nginx as mail reverse proxy to deal with different TLS/SSL certs for different domains

I have several mail servers which host different domains (e.g. domain1.com is served by mail.domain1.com, while domain2.com is served by mail.domain2.com). I try to set up a single point to access ...
Alexander's user avatar
  • 854

1 2 3
4
5
65