Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
10 views

Setting a URL prefix for the Glassfish admin GUI

The Glassfish admin gui runs on port 4848, which is behind my firewall. Other high order port web apps either have a consistent prefix or allow me to set one in order to proxy from 443 to the higher ...
0
votes
2answers
26 views

Setup the two servers with different IP and apply the single domain

I'd like to setup the two servers with different IP and apply the single domain. Server 1 Vendor: Azure OS : Windows 2019 App : MVC application We have Virtual Machine in Azure and running ...
1
vote
1answer
21 views

503 proxy error and unable to establish SSL connection

I have a docker container running on my server. It's running an instance of collabora/code if that matters. I have a external subdomain that does a reverse proxy to the container URL but getting a 503....
7
votes
1answer
1k views

What exactly is a “transparent reverse proxy”?

I've been running some services as docker containers on a DigitalOcean droplet for a few years now, and recently I figured it was time to update one of them to the latest version (the service in ...
0
votes
0answers
9 views

About the location block on apache server for gogs with basic authentication

I use apache Apache/2.4.25. I use its reverse proxy for gogs which is a git repository docker container image. The important is that I use basic authentication. I am able to visit web site and to use ...
0
votes
0answers
22 views

nginx - modify final URL?

I have a configuration: server { listen 80; server_name emby.my_domain; location /emby { rewrite /emby/(.*) /$1 break; proxy_pass http://127.0.0.1:8096; proxy_redirect off; ...
0
votes
1answer
57 views

What's the difference between a reverse proxy server and a virtual host? [closed]

I'm sorry if this is a dumb question. I'm very new to backend stuff. I'm trying to set up a Rocket Chat server onto a server that I set up a NextCloud and Wikimedia server previously. The rocket ...
1
vote
0answers
35 views

Apache reverse proxy timeout in 60 seconds

I have Apache Reverse proxy server which proxies request to my internal Apache server. I am using Apache version 2.4 on Linux platform. I encountered timeout page and HTTP ERROR 504 whenever back-end ...
1
vote
1answer
15 views

Proxy_Cache on NGINX Reverse Proxy and FastCGI_Cache on Upstream NGINX Wordpress Server

I have some questions about caching implementation since most of the resources I have found don’t seem to distinguish between NGINX as a reverse proxy or as a “native” web host. I’ve setup a ...
0
votes
0answers
19 views

Reverse proxy Issue in Docker Containers with Nginx

I have 2 containers, one running SITE A (port 8001) and other SITE B (port 8080). What I am trying to do is a reverse proxy from nginx. In nginx conf, I have a configuration for SITE A as server { ...
0
votes
2answers
68 views

How to manage static content for high-loaded website via nginx?

My understanding is that nginx is well-suited for serving static content. But i can't find any information with regard to how well it's for serving very big amount of static content. Let's say i use ...
-1
votes
1answer
46 views

Apache header editing

I have setup with apache (apache 2.4, redhat 7.6) reverse proxy in front of the JVM. Apache has basic authentication setup on it. The problem is that Apache header with info about basic ...
0
votes
0answers
12 views

Setting up nginx to run more then one nodejs app on https and redirect every http request to https

Nginx is redirecting the http to https successfully. Both apps are up and running on port 3000 and 3001. But only the app on port 3000 is accessible in browser by visting example.com. Whenever I try ...
0
votes
0answers
18 views

How can I add 497 redirect and listening directives to existing NGiNX config [duplicate]

I have a NGiNX reverse proxy that has a configuration set for a local server. I want it to listen on port 32400, enforce SSL on that port and pass on the traffic to the local server as needed. My ...
0
votes
1answer
54 views

nginx reverse proxy in subfolder resulted in “bad gateway” or “file not found”

I am trying to put a node.js app (node-red) using a reverse proxy. server { listen 80; server_name example.com location / { proxy_pass http://example.com:1880; ...
0
votes
1answer
21 views

combinging Rocketchat and Nextcloud installed with snap on one server, same port

I installed a fresh Ubuntu18 server with Nextcloud and Rocketchat installed through snap. After enabling letsencrypt, Nextcloud listens on port 443 and Rocketchat on port 3000. I would like both to ...
0
votes
0answers
20 views

How to send requests from Nginx reverse proxy to a server with Apache instances

I want to use an Nginx server configured as a reverse proxy to send requests to an Apache server which hosts multiple web pages. The scenario is as follows: A webserver with the DNS address host....
1
vote
2answers
62 views

nginx: exclude sub-location in reverse proxy configuration

I want to build a http to https reverse proxy based on nginx for a graylog instance, let's say it's url is graylog.domain.local. Graylog does NOT serve ssl encrypted connections, just standard http ...
0
votes
1answer
43 views

Can NGINX “proxy_cache_valid” be relative to Last-Modified instead of time received?

I've been beating my head against the wall trying to get live DASH and HLS video streams to be cached correctly by an NGINX caching HTTPS reverse-proxy server. My current thinking is that my main ...
0
votes
1answer
33 views

How to properly redirect all request to non-www inside nginx with reverse proxy [duplicate]

I have a react website served by reverse proxy inside nginx. On top of that, I have SSL. Certbot is handling redirects from http to https. I would also like to setup redirects from www to non-www. I ...
0
votes
1answer
109 views

How to combine squid reverse proxy with nginx proxy for shiny-server

I have a nginx web server which acts as a proxy for my shiny-server. I now want to use a squid reverse proxy to provide access to the nginx server (and thus the shiny server) to internet clients. ...
0
votes
1answer
123 views

My Web application gives CORS error after adding HTTPS using Let's Encrypt

This is my application : https://cfslpro.com/student_portal/ Front end is done by AngularJS and back end is done by Node.JS. Hosted in Apache server. ( Digital ocean Linux 16.04 ) You can try login , ...
3
votes
0answers
155 views
+50

worker_connections are not enough - Nginx, docker

In my production server we have several upstreams which are docker containers running behind a reverse proxy with nginx. One of this containers is a mqtt broker (mosquitto) that we use to connect ...
0
votes
0answers
24 views

nginx to apache2 reverse proxy not working

I'm running an nginx as a reverse proxy and would like to serve apps running on an apache2 server. The app on the apache2 server is working and available via http://192.168.102:8080/ but I always get ...
0
votes
0answers
23 views

Squid allow forwarding loop

I am trying to set up Squid as a caching reverse proxy in front of a single loadbalancer for a web application split into two parts - frontend.app.com and api.app.com. The frontend is running on a ...
2
votes
1answer
42 views

Nginx listen on any port but rewrite on 8080

I have set up an nginx proxy with Openresty. The proxy takes up an HTTP SOAP POST request, modifies it by using a LUA script written within the root location ("/") of the HTTP server on port 8080, and ...
1
vote
2answers
48 views

Complex reverse proxy

I'm looking for a one-liner. The hops are: I have a Ubuntu instance with SSH exposed to the internet Only a single user with a key can SSH from the internet. That single user has zero privileges, so ...
-1
votes
0answers
18 views

IIS 7.5 - Reverse Proxy - Send Custom HTTP Headers Mapped to Client Cert CN?

Is it possible to forward a Custom HTTP Response Header that has the value of the Client Certificate Common Name when Required Client Certificates is enabled on IIS?
0
votes
0answers
65 views

HAProxy as Docker container not routing as a reverse proxy

This HAProxy configuration should serve: the Google main web page when asking http://localhost:9000/google/ the Wikipedia main web page when asking for anything else hitting http://localhost:9000 I ...
-1
votes
1answer
61 views

How to run multiple NGINX instances for servers to be developed together but deployed separately

I'm an NGINX beginner who is building both an adaptive live video server (HLS & DASH) and a caching HTTPS reverse proxy server. While the servers will be deployed to separate boxes, I'd like to ...
0
votes
1answer
30 views

Nginx proxy wordpress except the preview urls

I have setup wordpress proxy for all routes but I don't want to proxy the preview urls. The typical url looks like this. I would rather setup the proxy rule so if it contains preview=true don't proxy ...
0
votes
0answers
21 views

Nginx Reverse Proxy Wordpress Frontend only but exclude

I want to setup reverse proxy for wordpress because I am using gatsbyjs which is a static site generator. So basically by default I want to proxy everything so all my urls work but I still want to ...
1
vote
1answer
32 views

Add Client certificate when acting as reverse proxy (Apache/NGINX)

My application makes (POST) requests to an external server (not under my control) Now this server requires working with client certificates. My application currently can not handle this (or any time ...
0
votes
0answers
18 views

How to enable longpolling port on odoov8?

im new on odoo. and i need some help to enable this, i have configured reverse proxy using apache2 <VirtualHost *:80> ServerName myserver.com <Proxy *> Order deny,allow Allow from all ...
0
votes
0answers
13 views

Exclude Proxy paths not working

I am trying to setup reverse proxy for a wordpress site. The problem is that I am trying to exclude wordpress rest api paths and the .xml files but having no success. The exclude rules for wp-admin, ...
0
votes
2answers
29 views

Is it possible to set up nginx as a reverse proxy that also forwards the proxied server's certificates?

I'm having a bunch of virtual hosts served behind a nginx reverse proxy. At the end of each there is a server that has valid certificates for the given virtual domain. E.g. api.example.com -> ...
0
votes
0answers
40 views

Reverse proxy shaarli in a subfolder with nginx

I have a docker-compose with many services I was able to reverse proxy behind an nginx instance, located in a linuxserver/letsencrypt docker container. I added a shaarli container to the list, and ...
0
votes
0answers
25 views

Apache httpd load balancing based on other server availability

We are implementing a real-time WebRTC - RTP video solution at a customer, using 3rd party vendor components and customer components. I am trying to find out if it possible to handle a corner-case ...
0
votes
0answers
34 views

redirect all web trafic from network through proxy server to a specific URL

I have a network env, which has outgoing traffic using proxy only. I want to create some sort of "unproxying GW" for my specific internal network. I am okey to use any Linux based solution for this, ...
1
vote
0answers
16 views

How to handle redirects from a reverse-proxied server mapped to a subdirectory in Nginx?

I would like use Nginx as a reverse proxy for an app, which is mapped to a subdirectory of my site. The app has its own set of locations , and must be able to issue redirects to other locations ...
0
votes
1answer
88 views

Proxying nifi using nginx

I want to use an https nginx to proxy a non-secured nifi server running in the same box. So far the closest I get is by using this configuration: location ^~ /nifi { proxy_set_header X-...
2
votes
2answers
36 views

Nginx load balancing as gateway (without SNAT)

I'm trying to configure Nginx as last-resort backup for F5-BIG-IP and I'm not sure if it's possible to configure it to behave similarly to F5 in terms of traffic handling? F5 is currently deployed as ...
1
vote
1answer
54 views

How to forward based on port in nginx

if i have the location to proxy like this: location /proxy{ proxy_pass http://127.0.0.1:1234; } it will only forward to localhost:1234. Now what i want is something like this: /proxy/5544/abcd/...
1
vote
0answers
80 views

Apache reverse proxy fails without trailing slash

I'm currently trying to set up a Reverse Proxy with Apache. I went with the following config: <VirtualHost *:80> ServerName my-server SSLProxyEngine on SSLProxyVerify none ...
0
votes
1answer
50 views

Degraded performance with NGINX SSL reverse proxy

We have a Java Spring Boot application that is behind a NGIX reverse proxy. Everything works as expected when the using HTTP - the API responds times are quit fast. Once the protocol is switched to ...
0
votes
0answers
24 views

How to Nginx upstream on single server with additional IP addresses added to NIC?

I am having a single dedicated server (static IP) with two additional IP addresses added. When I run SSH with command: cat /etc/network/interfaces I got this result: auto lo iface lo inet loopback ...
0
votes
1answer
202 views

Connection refused when accessing container from local network through reverse proxy

I am running Proxmox VE on a root server. There are several virtual containers, on of them acts as a reverse proxy who does TLS termination. On the proxmox machine iptables handles port forwarding ...
1
vote
0answers
40 views

Single server for multiple web-apps (same domain) [duplicate]

I'm trying to configure nginx to serve two independent Vue.js web-apps (let's call them app1 and app2). Applications are served as static html files on separate servers: server { server_name app1;...
0
votes
1answer
25 views

Apache proxy redirect URLs with specific string

I have a server which runs 2 applications. I am using a public IP address and I want to parse the url in a way if a specific text occurs the call is redirect to a specific port. In my case I want that ...
-1
votes
0answers
33 views

create a https proxy server that redirects all traffic hitting http url to https url (using ssl cert) in nodejs

i have a http server running, Now i want to create a https proxy server that redirects all traffic hitting http url to https url . I have 2 cert files from godaddy ( one of them is bundle.crt) but no ...