Questions tagged [reverse-proxy]

A reverse proxy server usually refers to an HTTP accelerator or load-balancer which proxies requests on behalf of the actual clients to one or more backend HTTP servers.

A reverse proxy server usually refers to an proxy server which proxies requests on behalf of the actual clients to one or more backend HTTP servers.

It can be used as HTTP accelerator, or load-balancer, or to give the access to LAN internal web-services to Internet users.

Wikipedia: Reverse proxy

Apache HTTP as forward and reverse proxies

5119 questions
24
votes
1 answer

nginx 'invalid number of arguments in "map" directive'

I'm trying to reverse-proxy a websocket, which I've done with nginx before with no issue. Weirdly, I can't seem to re-create my prior success with something so simple. I've been over and over the config file but can't seem to find my error. Here's…
Ryan Kennedy
  • 3,275
  • 4
  • 30
  • 47
24
votes
10 answers

Laravel routes behind reverse proxy

Ok, so for development purposes, we have a dedicated web server. It's not currently connected directly to the internet, so I've setup an apache reverse proxy on another server, which forwards to the development server. This way, I can get web access…
Phil Cross
  • 9,017
  • 12
  • 50
  • 84
23
votes
3 answers

ASP.Net Core Reverse Proxy with different root

I am having problems proxying an ASP.NET Core MVC app. My app is running on Kestrel on localhost:5000 and my Apache 2.4 reverse proxy is running on localhost:80. I want to proxy all requests from localhost:80/test to localhost:5000 Here is the…
CurlyFire
  • 712
  • 2
  • 6
  • 18
23
votes
2 answers

What does HTTP/2 mean for a reverse proxy server?

How HTTP/2 affects the implementation of a proxy server? Especially, for example, when a client sends an HTTP/2 request to a content server that only supports HTTP/1.x, should the proxy server tranform the HTTP/2 request to HTTP/1.x request before…
lifang
  • 1,485
  • 3
  • 16
  • 23
23
votes
1 answer

ProxyHTML to rewrite URL

I've got 2 apache servers set up. One on port 80 and another on port 8077. I'm wanting to see everything on the server on 8077 via a reverse proxy. At the moment I've got: ProxyPreserveHost Off ProxyHTMLInterp On ProxyPass /translate/…
Andrew
  • 7,548
  • 7
  • 50
  • 72
22
votes
2 answers

Apache2 Reverse Proxy to an end-point that requires BasicAuth but want to hide this from user

Basically my scenario is that I have an internal website that requires a SINGLE hard-coded username and password to access (and this can't be turned off, only changed). I am exposing this website through a reverse proxy for various reasons (hiding…
Bo Jeanes
  • 6,294
  • 4
  • 42
  • 39
22
votes
3 answers

Nginx proxy_pass to https

we have: Ubuntu 16.04 nginx 1.10.3 i am new to nginx and need help on proxy_pass to https. We have clients in internet they call a url for example. https://testapp.mobios.example.com i want to pass this traffic to my server with the ip address…
mobios
  • 353
  • 1
  • 2
  • 7
22
votes
4 answers

proxy_pass isn't working when SELinux is enabled, why?

I'm having an application listening on port 8081 and Nginx running on port 8080. The proxy pass statement looks like: $ cat /var/etc/opt/lj/output/services/abc.servicemanager.conf location /api/abc.servicemanager/1.0 { proxy_pass …
22
votes
4 answers

IIS as a reverse proxy - compression of rewritten response from backend server

I am implementing a reverse proxy for routing requests to a backend server. Functionally everything works correctly, however I am concerned that all responses from the backend server are transferred to the client (web browser) without…
Jakub Januszkiewicz
  • 4,380
  • 2
  • 37
  • 54
21
votes
1 answer

Apache port forward

I have apache couchDB active on http://localhost:5984/ which i need to access at http://localhost:80/couch/. I need to setup a reverse proxi for this. Need help with the configuration settings. PS: Whats the best resource to learn about apache?
Jaseem
  • 2,236
  • 6
  • 28
  • 35
21
votes
2 answers

lighttpd as reverse-proxy

DeviceA serves as a reverse-proxy and is supposed to forward requests as follows: 192.168.1.10/DeviceB ==> 192.168.1.20/index.html 192.168.1.10/DeviceC ==> 192.168.1.30/index.html Both index files are located under /var/www and are static "Hello…
impf
  • 221
  • 1
  • 2
  • 4
21
votes
2 answers

How to setup local domain in local network that everyone can see?

I have a few web-based local applications for home-automation purposes, those are accessible through IP addresses with port numbers something like http://192.168.1.100:8080. What I am trying to achieve is to link each individual IP and port number…
Kutsan Kaplan
  • 1,755
  • 3
  • 14
  • 22
21
votes
1 answer

Nested locations in nginx

Hi I'm trying to get the following to work! I'm basically trying to allow the following URLs to be passed to the proxy_pass directive by either of these two URLS: http://example.com/admin/1 or http://example.com/admin/2/ I have the following…
geekscrap
  • 965
  • 2
  • 12
  • 26
21
votes
3 answers

Charles just shows unknown packages

I'm trying to analyse my Iphone traffic, I enabled the SSL proxy and set everything. The problem is.. I just got these unknown packs, I can't see anything, any clue??
Paulo Zumach
  • 239
  • 1
  • 2
  • 10
21
votes
2 answers

upstream timed out (110: Connection timed out) for static content?

I've a situation where two webservers are setup with nginx as loadbalancer and are backends themselves. Distribution is Debian Wheezy. Config is the same on both servers (Quad-Core with 32GB…
rabudde
  • 7,498
  • 6
  • 53
  • 91