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
0answers
23 views

Proxy requests from NGINX to Cloudfront system stop working when using a variable in proxy_pass

We are proxying requests to a AWS cloudfront server in NGINX like this: location /assets/ { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $...
0
votes
1answer
28 views

NGINX proxy_pass serving index instead of requested java-script file with status 200

I have set up a proxy_pass looking like this: location /review/app-template/16-update-to-proxy_pass/ { proxy_pass http://$server_name:54341/review/app-template/16-update-to-proxy_pass/; ...
0
votes
0answers
26 views

Redis server with reverse proxy unreachable for external server

i got a little problem and to be honest iam not that good in dns and reverse proxy. So here is my problem: i have a redis server to get logs from filebeat, in the local network its working fine. but ...
0
votes
1answer
19 views

Ensuring Redirects on a Proxied Server work correctly

So I am currently trying to understand what configuration is a good idea for an nginx proxy. I am a bit stuck on the following two options: proxy_set_header Host $host; proxy_redirect default; (which ...
0
votes
0answers
9 views

APACHE net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)

I have a reverse proxy with apache, all works fine except for 1 page. the error is >> GET https://example.com/boardlist net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) The images in this page don'...
0
votes
0answers
38 views

NGINX proxy to node server (https to http) ERR_CONNECTION_REFUSED

I want to use NGINX as a reverse proxy to my nodejs application running as a docker container on port 3000. My domain name is from freenom and the ssl certificates are generated using certbot. I have ...
1
vote
0answers
12 views

Apache HTTP proxy work for some destination ip and receive 502 Bad Request from other destinations

I've an HTTP proxy like this: Listen 8240 <VirtualHost *:8240> ProxyRequests On <Proxy "*"> SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 </Proxy> </...
-1
votes
0answers
11 views

Why doesn't the protocol get mapped on redirects with a reverse proxy configuration?

I've got this server block in a nginx configuration: server { listen 443 ssl http2; server_name my-domain.com; ... ssl_* settings ... proxy_set_header Host $...
0
votes
0answers
27 views

Apache Guacamole + Nginx Proxy Manager = SyntaxError

I'm running Apache Guacamole inside Docker and I want to make it publicly accessible using Nginx Proxy Manager. This is the Docker Stack for Guacamole: version: "3" volumes: mysql: ...
0
votes
0answers
16 views

Reverse proxy for RDP according to domain request

I have a scenario hope that someone will help me with that So the scenario is i have a server that is reachable to the internet and some server that are connected to my lan (In the private network) so ...
0
votes
1answer
31 views

Is there a way to configure nginx reverse proxy through Restful API

I can configure Nginx Reverse proxy with nginx server blocks by creating and editing configuration files. But its there a way to automate this process and configure reverse proxy entries and Lets ...
-1
votes
1answer
27 views

How can I further troubleshoot a “502 Bad Gateway” error?

I am running a set of services in a Docker environment. All services are behind the same nginx reverse proxy container that encrypts with letsencrypt and splits the incoming traffic based on ...
0
votes
1answer
35 views

Putting WAF on a loadbalancer?

at the moment, our application servers are directly accessable on the internet, like the following picture shows. With this in mind, it would be aful if a server crashes (hardware-failure) or stops ...
-2
votes
0answers
25 views

Nginx reverse proxy return 502

I'm very new to nginx and server game and I'm trying to setup a reverse proxy. Basically what I need is when I enter my server IP it should open a particular website (Ex: https://example.com). So for ...
1
vote
0answers
35 views

How to proxy a subdomain to a port in apache

I want to proxy git.example.com to example.com:3000 for gitea. I also want to enable https on the subdomain. Here is my configuration: <VirtualHost *:443> ServerAdmin webmaster@example.com ...
-1
votes
0answers
16 views

How to configure a local proxy to send custom header request?

i'm doing some tests on a webpage using jmeter and selenium. What i need to do is to send some custom header request and i would like to do it by using a proxy server in local. For several reasons i ...
-1
votes
1answer
27 views

Apache Reverse Proxy - HTTP requests with a Cookie

We have an Apache Reverse Proxy which works fine (configuration below). Now we have the need to forward a few requests to another server (server3.domain.com) and check that a cookie named "...
-2
votes
0answers
23 views

Redirect request from an external IP to another external IP

I access an external application through an IP 192.XXX.XX.XXX/application and some buttons in that application are configured to forward the request to the internal IP 10.XXX.XX.XXX/aplication_2. Is ...
1
vote
0answers
18 views

Nginx Reverse Proxy URIs

I have two EC2 instances running nginx web server. Box 1 is the 'main website' and box 2 is an API search service. I have set up box 1 so that the search page proxies box 2 and whilst this works fine ...
0
votes
0answers
40 views

Nginx proxy 302 redirect location header is wrong

I have a problem with getting Nginx proxy(http://localhost:8091) to work with Mautic instance, the original Mautic website works like that(I swapped all urls to https://mautic.example): When you visit ...
-1
votes
0answers
29 views

cookie is lost on refresh using nginx as proxy_reverse. I like the cookie and would like to keep it set in the browser

I'm new to Nginx and Ubuntu - have been with windows server for over a decade and this is my first try to use ubuntu and Nginx so feel free to correct any wrong assumption I write here :) My setup: I ...
0
votes
1answer
35 views

How should I authorize calls to an API behind an Apache reverse proxy behind CAS authentication?

Apologies if this is incoherent. I'm very new. I have an Apache server protected by CAS in a Docker container. I'm using mod_auth_cas to do this. I have an API running on a different container which ...
-1
votes
1answer
61 views

MTLS on Nginx that works with client side Android Apps?

Is there a way to pull off MTLS/Two-Way SSL/Client Certificates that work on unrooted v10+ Android Clients on the cheap? I have a couple of personal api end points that I want to be publicly ...
0
votes
0answers
36 views

IIS get real client IP Address when behind a AWS Elastic load balancer

I have a IIS server behind a AWS Elastic load balancer. I want retrieve the real client ip address set into x-forwarded-for header from AWS Elastic load balancer. I have found this setting for enable ...
1
vote
1answer
39 views

router or reverse proxy - network failure

I have an edgerouter x sfp as the main router to the internet. To this router a server is connected with a reverse proxy docker running called swag eg. letsencrypt which I use to access nextcloud and ...
1
vote
0answers
48 views

Multiple servers behind one public IP [duplicate]

I am hosting multiple servers behind one public IP. (Mostly in Proxmox VE) Currently, all the services are on separate ports. I would like to use multiple domains to reach different services and am ...
1
vote
0answers
21 views

Apache reverse proxy configuration (/context to /)

I'm having this issue trying to proxy a site to another context on a different domain What I currently have ? I have a fully functional web site running on the following URL: https://helloworld....
1
vote
1answer
41 views

NGINX Reverse Proxy - Hide proxy URL from origin server?

My company uses a webapp that's reachable on http://10.10.10.20/WebAPP running on IIS on Windows Server 2019. Now, said WebAPP needs to be accessible via the internet, and thus SSL is needed - no ...
0
votes
0answers
40 views

How to set the HTTP headers “X-Forwarded-Context” or “X-Forwarded-Prefix” with IIS reverse proxy

I try to configure a reverse proxy in the IIS. This required to set some HTTP headers. I was able to add the follow HTTP headers: X-Forwarded-Proto X-Forwarded-Port X-Forwarded-Host This is possible ...
0
votes
1answer
27 views

How to access https://localhost from other devices

I have a server program written on ASP.NET that I would like to access from other devices on the same network. What do I need to do in order to achieve this? Is there a program that handles this type ...
-1
votes
1answer
82 views

Nginx reverse proxy not working

I know this is a very common problem, but I can't seem to find the solution to it, and I'm new to Node JS and Nginx. I'm trying to run my Node JS app on port 80 of my site at example.com using a nginx ...
-1
votes
0answers
15 views

Traefik CouchDB Port Forwarding Issues

Summary I am running a simple docker project with 3 services: backend: An elementary FastAPI BE couchdb: A CouchDB image Traefik: My reverse proxy I am encountering difficulties with reaching my ...
0
votes
0answers
12 views

Hosted server returning localhost/web instead

I have a website host on a server in Digital Ocean that is behaving weirdly. The website is written in Flask which is deployed in Docker and using reverse proxy with a combination of Let's Encrypt to ...
-1
votes
0answers
29 views

NGINX Reverse proxy not loading all images home page

I create Nginx reverse proxy and work fine but some images did not appear on the home page this is a configuration server { listen 80 default_server; listen [::]:80 default_server; ...
0
votes
0answers
27 views

Password protecting an upstream server using Nginx

I've been searching for ages and whilst I can find lots of questions about proxying to a password-protected server using Nginx, I can't find any references to how to go about adding basic ...
0
votes
0answers
17 views

Having difficulty passing environmental variables from Docker into Nginx.conf

My nginx.conf should all be set up to add the environmental variable, see: # snippet from nginx-test.conf proxy_set_header Authorization ${CREDS}; etc etc And then my docker run command is set up as ...
2
votes
1answer
38 views

Multiple forwardfor commands in HAProxy config

In HAProxy, I would like to forwardfor everything except a few networks like below (multiple networks) frontend main bind myip:5356-60000 mode http option ...
0
votes
0answers
21 views

NGINX UDP Proxy Pass to HTTP

I built a NGINX reverse proxy where I listen for UDP traffic on port 53 and pass it on to an HTTP endpoint with modified headers. Once the headers are modified, I send the packet to the target. http....
0
votes
0answers
27 views

Setting up a reverse proxy for a subdomain in apache2

Description I want to set up a reverse proxy for a subdomain. I have a domain setup on example.com which is being provided with a Let's Encrypt SSL certificate which works like a charm. It is served ...
0
votes
0answers
22 views

Nginx Reverse Proxy Redirect To Original Site For Certain Page

I use nginx to reverse proxy external website and it work properly, except for a certain page. This is my config server_name example.net; location / { proxy_pass http://abcd.com; ...
0
votes
0answers
75 views

Google load balancer HTTPS between wordpress.com and google storage bucket

My question is about how to best route a particular url to a static page while routing everything else to a wordpress.com site I have a domain on google domains, currently the A record for the bare ...
1
vote
1answer
34 views

Apache SSL Proxy Pass not working, but it does with VirtualBox NAT port forwarding

I configurated Apache proxy pass on port 80 and 443. Port 80 works but it seems that for 443 I do not get any response. From my public ip I got no response from server. This are the virtual host ...
1
vote
0answers
53 views

how to config apache reverse proxy for multiple jboss remote instances?

I need to setup an apache reverse proxy with multiple jboss instances as target server (with different IP). I've already set in my DNS an url http://jboss-test.domain.com and i would like to redirect ...
1
vote
1answer
50 views

Persistent connection not working between the squid (version 4.13) and Apache (origin server)

I would be very happy if somebody could help. I am basically trying to make the connection between the Squid (version 4.13) proxy and the Apache server (origin) persistent. I've tried the ...
0
votes
0answers
16 views

Apache 2.4 Load Balancer issues with hostname consistency (ProxyPreserveHost)

I am trying to set up 3 different instances of apache on the same machine and host an application on two of these instances, while the third one load balances them. I have the Loadbalancer instance ...
1
vote
1answer
44 views

Nginx as reverse proxy for Docker-contained Tomcat

Consider the following diagram: I have a Debian droplet from Digital Ocean where I need to deploy N Java applications inside individual Docker containers running a Tomcat instance. Each image has the ...
1
vote
1answer
104 views

NGINX Reverse Proxy What happens if someone browses to an IP instead of a URL

I have a nginx reverse proxy that acts as a one to many (single public IP) proxy for three other web servers. I have all the blocks set up to redirect to each server depending on what URL is provided ...
0
votes
1answer
33 views

How not to redirect the server name to an application?

In the domain file "db.myplace.mydomain.com" I configured a name for the reverse proxy (proxy.myplace.mydomain.com) and a name for a web application (myapp.myplace.mydomain.com). However, ...
0
votes
0answers
26 views

Runing unbound doh behind nginx

I'm trying to run unbound DoH behind nginx but I'm getting a 502 Bad Gateway error. In nginx log I have the following message: 2021/03/25 08:54:49 [error] 10052#10052: *1 upstream prematurely closed ...
0
votes
1answer
48 views

How to deliver certificate randomly to browser, according to the backend IP/server picked by HAProxy?

I am a beginner in HAProxy and I was trying to achieve this. I have 4 VMs, one having HAProxy server and Apache httpd server in other 3 VMs. I have test.html on all three servers. When user hit https:/...

1
2 3 4 5
57