Questions tagged [reverse-proxy]

In computer networks, a reverse proxy is a type of proxy server that retrieves resources on behalf of a client from one or more servers. These resources are then returned to the client through the reverse proxy as though they originated from the server itself.

Filter by
Sorted by
Tagged with
22 votes
3 answers
63k views

Apache reverse proxy: no protocol handler

I am trying to configure a reverse proxy with apache, but I am getting a No protocol handler was valid for the URL error, which I do not understand. This is the relevant configuration of apache: ...
blueFast's user avatar
  • 2,716
17 votes
2 answers
38k views

How to make nginx rewrite URIs in HTTP body content?

This is a follow-on to my earlier question on how to Make nginx reverse proxy 302 redirect to a URI sub-folder instead of root. I have an nginx proxy server that uses the rewrite and proxy_pass ...
Steve HHH's user avatar
  • 7,100
15 votes
4 answers
11k views

Instant reverse HTTP proxy from a Linux command-line

There is a nice trick to instantly serve contents of a current working directory by HTTP locally: $ python -m SimpleHTTPServer This command launches HTTP server at *:8000, serving $PWD contents. I'...
Alexander Gladysh's user avatar
13 votes
4 answers
33k views

Haproxy for SSH name based proxying

I have a host machine with several lxc containers. I am trying to give ssh access to containers directly based on domain names. For this I have tried setting up HAProxy. Could achieve this easily with ...
Medhamsh's user avatar
  • 303
12 votes
1 answer
13k views

How to make a local web server visible from the internet *without* setting up port forwarding on the router?

I develop websites on my (high-end) laptop, and I work from a variety of physical locations. I would like to save the hassle of constantly synchronizing with an externally visible web server in order ...
Dan Nissenbaum's user avatar
11 votes
3 answers
68k views

Apache as reverse proxy for multiple destinations and one default destination

Looking for help for the next Apache's reverse-proxy problem. have an Apache 2.4 on the localhost:80 (a.a.a.a:80) have 3 different web applications one runs on localhost:8000 (a.a.a.a:8000) two ...
kobame's user avatar
  • 435
7 votes
1 answer
5k views

How do I use allow/deny in conjunction with set_real_ip_from?

My nginx backend server should only accept requests from my frontend, 1.2.3.4. However, I also want nginx to log the correct IP address, so I use set_real_ip_from. But by doing this, the allow rule in ...
Jay's user avatar
  • 81
6 votes
1 answer
25k views

Make nginx reverse proxy 302 redirect to a URI sub-folder instead of root

I have a web server on my LAN with the URL https://10.0.0.22 and I am trying to access it from the internet through an nginx reverse proxy with a URL like https://domain.com/my/web/app. The ...
Steve HHH's user avatar
  • 7,100
4 votes
2 answers
626 views

How to find which ip is hammering my website?

I have website which recently got so much traffic that my server load went to sky. load average: 83.99, 72.89, 77.70 My website is hosted on dedicated server with 64 GB RAM and Intel i7 6700k CPU. ...
user avatar
4 votes
1 answer
1k views

How does a reverse proxy server receive the subdomain?

I recently set up a reverse proxy server on some some Docker containers using Nginx and it works as expected. I am reverse proxying on these containers themselves to applications being run on these ...
Shraft's user avatar
  • 195
4 votes
0 answers
2k views

Airflow + Nginx set up gives Airflow 404 = lots of circles

I'm trying to set up Airflow behind nginx, using the instructions given here. airflow.cfg file base_url = https://myorg.com/airflow web_server_port = 8081 . . . enable_proxy_fix = True nginx ...
Blessy's user avatar
  • 141
4 votes
0 answers
758 views

How can I proxy without context path?

I have been using apache/sonar like this. <Proxy http://localhost:7070/sonar*> Order deny,allow Allow from all </Proxy> ProxyPass /sonar http://...
Jin Kwon's user avatar
  • 336
3 votes
4 answers
13k views

How to access guest server from the web

Ok, here's what I want to do: I want to connect to a webserver running on a virtual machine. I have an Apache webserver running on my host machine: Windows Vista, which can be accessed from the web. ...
jspike's user avatar
  • 31
3 votes
1 answer
7k views

Nginx reverse proxy to non-HTTP software

I'm wondering whether it's possible to do this with Nginx: server1.domain.com:9999 --> localhost:4000 server2.domain.com:9999 --> localhost:5000 server3.domain.com:9999 --> localhost:6000 ...
Sasino's user avatar
  • 73
3 votes
1 answer
5k views

Nginx running in Docker, reverse proxying to localhost outside of Docker

As a workaround for some operational silliness in a work project, I am trying to: Run Service A listening on localhost:4001 and Service B listening localhost:4002. Run Nginx inside a Docker container;...
shadowtalker's user avatar
3 votes
1 answer
4k views

How to Set Up Nginx as a Reverse Proxy

I am trying to set up nginx to behave as a reverse proxy listening on a subdomain we control. I have followed examples found online and they mostly work with one exception that isn't clear to me. ...
Radmilla Mustafa's user avatar
3 votes
1 answer
1k views

privoxy as reverse proxy for Linux server

Im trying to set up privoxy as reverse proxy. I dont want to set up privoxy on each computer manualy but I want to set up it on server. I can't use transparent proxy as I need to block HTTPS too. So, ...
Haniku's user avatar
  • 141
3 votes
1 answer
482 views

Is my understanding of the WSGI path correct

My past web application experience is limited to a few Apache+PHP experiments. Starting from this background I've been reading up on using Python for REST services, and this is my current ...
Johan's user avatar
  • 191
3 votes
1 answer
9k views

Reverse Proxy for TCP (RDP, VPN, etc) and HTTP

I have a domain that points to my ISP assigned IP though a CNAME (cname goes to my noip address incase my ISP decides to change the IP), I would like to route different subdomains to various IP:PORT ...
Greg Somers's user avatar
3 votes
0 answers
5k views

pfSense, nginx reverse proxy and letsencrypt

I need help configuring letsencrypt to work with an nginx reverse proxy and pfSense firewall / gateway. Setup is as follows: -> 192.168.0.4 ...
Andrzej's user avatar
  • 56
3 votes
0 answers
325 views

configuring squid reverse proxy

I want to configure reverse proxy by Squid. I edited squid.config but it doesn't work # TAG: http_access http_access allow all http_access allow localhost http_access deny all # TAG: http_port ...
최진우's user avatar
2 votes
1 answer
7k views

How to use nginx as a reverse proxy on a Ubiquiti router

I've been trying to setup my Ubiquiti ErPoe-5 (firmware 1.9.1) to run a reverse proxy using nginx for a few days now and it seems that most of my troubles are caused by the fact that I can't get a ...
David Woodward's user avatar
2 votes
2 answers
4k views

NGINX: dispatch a request to multiple endpoints

For a test environment, I need to dispatch a single request to multiple endpoints (i.e I have to duplicate the request). I would like to do so using only NGINX, but I am not sure that it is possible. ...
Matthieu.V's user avatar
2 votes
2 answers
761 views

Without NAT on IPv6, and only one DNS name, how do i talk to my servers?

Right now we own one domain name (e.g. superfault.com). From the internet i can connect to a variety of networked devices using that single DNS name: superfault.com ...
Ian Boyd's user avatar
  • 22k
2 votes
2 answers
3k views

Nginx Reverse Proxy Apache Benefits

Can anyone explain why putting up nginx and reverse proxying Apache is faster than just plain Apache? I've already moved all my static files to s3 (I heard nginx is better at handling static files), ...
vonhogen's user avatar
  • 2,379
2 votes
2 answers
2k views

Local computer and remote computer are behind NAT. How to make local network accessible with SOCKS?

I have a Local computer (behind NAT). An intermediate server which is publicly accessible and has a fixed IP address. Remote computer (behind NAT and not the same as local computer). I’d like to ...
TryHarder's user avatar
2 votes
1 answer
2k views

Apache reverse proxy - URL without / is refused

I use reverse proxy to show backend server content for a subdomain. The subdomain.mydomain.com (server A) should display content of server with IP 123.123.123.123 port 1111 (server B). Virtual host of ...
klor's user avatar
  • 159
2 votes
1 answer
8k views

Nginx proxy_pass to IP but use HTTPS

I have a legacy server that is secured via SSL certificate for example.com. I want to put another server infront of this one to proxy_pass certain (legacy) traffic. The new server must be exposed on ...
Chris Smith's user avatar
2 votes
3 answers
11k views

Route SSH traffic based on domain with HAProxy

I'm currently building my own little cluster at home and I'm trying to get SSH routing (load balancing) to work with HAProxy. I have figured out how to route HTTP traffic but I'm struggling with SSH. ...
Constantin Jacob's user avatar
2 votes
1 answer
1k views

Software to proxy socket connections across a TTY-like link

I'm looking for some software that can perform remote forwarding of socket connections across a TTY-style link. I have two machines, A and B. I have admin privileges on A, but not B, but on machine ...
Jules's user avatar
  • 441
2 votes
1 answer
7k views

How to setup Keycloak behind HTTPS server

I've followed the procedure here https://www.keycloak.org/docs/3.4/server_installation/index.html#enable-https-ssl-with-a-reverse-proxy but something is missing when I try to open https://auth....
mirkash's user avatar
  • 121
2 votes
1 answer
2k views

How to host a local server using Heroku?

I want to host a Node.js website running on my laptop, so that it would be accessible to other people. I have tried port-forwarding on my router, but it does not work because my ISP has stopped ...
wolfram77's user avatar
  • 173
2 votes
1 answer
3k views

Reverse Proxy for domain-name

I'm trying to setup Apache as a reverse proxy for a domain-name. It should redirect to an application running on a Apache Tomcat server i'm using the following configuration: <VirtualHost *:80>...
Ozzie's user avatar
  • 121
2 votes
1 answer
321 views

Using NGINX to access other systems with proxy_pass

I'm trying to get my NGINX reverse proxy to connect to 2 other systems using the the proxy_pass directive and I'm having an issue with the configuration. Here is the server block of my nginx.conf: ...
Barrie's user avatar
  • 23
2 votes
1 answer
4k views

NGINX Proxy Manager cannot resolve locations

Please read Update below My setup: My goal: Access Heimdall at https://heimdall.myserver.lan instead of https://myserver.lan:8444/. My configuration: I've set up a freshly installed NPM at http://...
kamikater's user avatar
2 votes
1 answer
2k views

nginx reverse proxy to apache webdav

So I started using nginx to reverse proxy to a couple of services a have home. One of them is my webdav server under Apache. Here is my config file: server { listen 80; listen [::]:80; ...
Eduardo Biscaia de Queiroz's user avatar
2 votes
2 answers
4k views

Browsing through ssh socks proxy -> through reverse tunnel

I have HostA behind a firewall establishing a reverse ssh tunnel to HostB. I want to setup a proxy on HostB that will forward the connection through the reverse ssh tunnel and out through HostA. I ...
Chintan Desai's user avatar
2 votes
1 answer
2k views

Reverse proxy 502 bad gateway

I have setup a subdomain to proxy my plesk panel, but when saving pages I am getting 502 Bad Gateway error instead of a completion message. I am running CentOS 6. Here is my vhost.conf configuration ...
Nahydrin's user avatar
  • 435
2 votes
0 answers
107 views

How an Apache reverse proxy to other machine with no port forwading? [closed]

Is apache can bi-directional reverse to other apache that sit in other machine with mobile ip that not allow port forwading? I want apache that run in mobile act as apache client that open bi-...
jennie's user avatar
  • 21
2 votes
0 answers
2k views

Why can't I get Nginx reverce proxy to show real client / visitor IP?

I have been struggling for several weeks now trying to get my Nginx reverse proxy to show / pass through the real visitor IP and I have reached the point where I have no more ideas to try. I have of ...
bitflip's user avatar
  • 31
2 votes
0 answers
532 views

NGINX as TLS-transparent (secure TCP) and a TLS-terminating (TLS offload) reverse-proxy based on sub-domain name

I host a few services from my home network to the internet and I learned recently about reverse-proxy concepts using NGINX. Some of my services (like Home Assistant) have the built-in ability to ...
Greg G.'s user avatar
  • 81
2 votes
0 answers
846 views

Proxy_pass vs fastcgi_pass for nginx / php-fpm

What is the difference between a nginx reverse proxy server with apache/nginx-php backend with proxy_pass, and a nginx server in the front with fastcgi_pass to backends with only php-fpm. Can both ...
littlePigletWings's user avatar
2 votes
0 answers
381 views

Using URL Rewrite in IIS as Reverse Proxy

I am running a IIS server acting as a reverse proxy using URL ReWrite. It is being set up to forward https web requests as http to a web server inside our network. It appears to be forwarding ...
Jmmitche1984's user avatar
2 votes
1 answer
1k views

VMWare Workstation - Win host, Linux client, corporate proxy

here is my setup: Windows 7 desktop VMWare Workstation 14 Linux clients (Ubuntu 18.4, Mint 19, Centos 7) Use NAT networking for client VMs Corporate proxy which filters all traffic going to the web ...
Nic3500's user avatar
  • 81
2 votes
0 answers
2k views

Nxing HLS Reverse Proxy

I'm using 5 nginx servers as a reverse proxy to my origin. My origin only sends out HLS content, so .ts, .aac, .vtt and .m3u8 files. This is working really well for the most part, but when I have ...
Sonic Motion's user avatar
2 votes
2 answers
3k views

Getting an “Out of memory” Nginx error when attempting to run Lancache on Raspberry Pi 3B

I have a Raspberry Pi 3B and want to run Lancache on it. I know the performance will not be very good as the Raspberry Pi only has Fast Ethernet and a mobile CPU. The Docker image consists of three ...
ComanderKai77's user avatar
2 votes
0 answers
2k views

Can’t SSH into GitLab when it’s accessible via HAProxy

I have a GitLab instance in docker-compose on a VM in my home network. It's running behind HAProxy proxy and accessible on git.example.com:443. To be able to access them both inside my home network ...
cclloyd's user avatar
  • 752
2 votes
0 answers
591 views

ARR as reverse proxy for FTP server

I would like your help in the following scenario: I currently use ARR in IIS to reverse proxy in HTTP and HTTPS sites, but now I need a reverse proxy for my FTP, and in research I found that ARR does ...
Tecnologia Matrix's user avatar
2 votes
0 answers
2k views

nginx+http2: Upstream prematurely closed connection, PROTOCOL_ERROR

On my server I have nginx running using the default docker nginx image (version 1.13.8) as a reverse proxy for Lychee (using wonderfall/lychee), a photo gallery software written in PHP. As far as I ...
cdauth's user avatar
  • 408
2 votes
1 answer
2k views

nginx reverse-proxy to php-fpm

I'm having some trouble conceptually with an Nginx configuration. Starting with an nginx SSL-terminator reverse-proxy, I use a docker-compose.yml setup with a few containers, each providing a virtual ...
r2evans's user avatar
  • 540

1
2 3 4 5