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
15
votes
4 answers

How to enable windows authentication through a reverse proxy?

Sorry if it is a duplicate, as I am not a security nor network expert I may have missed the correct lingo to find information. I am working on an application to intercept and modify HTTP requests and responses between a web browser and a web server…
jeremy-george
  • 1,171
  • 1
  • 9
  • 20
15
votes
5 answers

Why is ASP.NET forms authentication setting cookies on a static image request?

I have an ASP.NET (MVC) website that is serving static content (images) as well as dynamic content from the same domain. The site uses forms auth, and has a login controller. There have been some very strange / irregular issues with people finding…
Hugo Rodger-Brown
  • 11,054
  • 11
  • 52
  • 78
15
votes
5 answers

Nginx TCP forwarding based on domain name

i am trying to use nginx proxy in front of 2 different servers example.com , example1.com >> nginx 10.0.0.1 >>>> 10.0.0.2 , 10.0.0.3 stream { server { listen 1935; proxy_pass 10.0.0.2:1936; proxy_protocol on; } server { listen…
Lolak
  • 317
  • 1
  • 2
  • 9
15
votes
3 answers

How to configure and enable Azure Service Fabric Reverse Proxy for an existing on-premises cluster?

Is the Azure Service Fabric Reverse Proxy available in an on-premises cluster? If so, how can I enable it for an existing cluster? The Service Fabric Reverse Proxy is described here. It allows clients external to the cluster to access application…
15
votes
6 answers

Forwarding to GitLab Subdomain with Existing Nginx Installation

I've been following the instructions from the GitLab wiki, however, it seems as if some key pieces of information are missing. In the section "Using a Non-Bundled Web Server" it never explains how I need to reconfigure my Nginx installation to…
Ecksters
  • 1,482
  • 2
  • 15
  • 26
15
votes
6 answers

How to run IPython behind an Apache proxy

I would like to run an IPython notebook web server behind an Apache (reverse) proxy so that instead of the URL https://my.server:XXXX (where XXXX is some port number) I could use https://my.server/py0 I am aware that IPython uses websockets and I…
András Aszódi
  • 8,948
  • 5
  • 48
  • 51
15
votes
2 answers

nginx and trailing slash with proxy pass

I am using the following configuration for nginx 1.4.1: server { listen 8000; server_name correct.name.gr; location /test/register { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server…
Serafeim
  • 14,962
  • 14
  • 91
  • 133
14
votes
1 answer

Proxy HTTP requests to an HTTPS server in nginx

I would like to set up an nginx instance which would proxy HTTP requests starting in /api to an HTTPS server, but the /api URL segment should be omitted out. For example, the instance should listen to localhost:9817. And if it receives a request to…
Eugene Garbuzov
  • 193
  • 1
  • 4
  • 9
14
votes
4 answers

Does Nginx open source support OpenID and JWT

I have a basic Nginx docker image, acting as a reverse-proxy, that currently uses basic authentication sitting in front of my application server. I'm looking for a way to integrate it with our SSO solution in development that uses JWT, but all of…
Connor Campbell
  • 145
  • 1
  • 2
  • 7
14
votes
3 answers

nginx reverse proxy images and css are not loaded

I try to configure an nginx reverse proxy to access a Jenkins instance. I can open the authentication page but there is no CSS and no image. It works perfectly when direct access. All works as if the reverse proxy does not rewrite correctly URLs…
Richard
  • 391
  • 2
  • 3
  • 10
14
votes
1 answer

Nginx Reverse Proxying to Node.js with Rewrite

I have several apps running behind an Nginx reverse proxy, one of which is a Node server with Express.js. I'm proxying domain.com/demo/app/ to localhost:7003/ using this Nginx config: http { ... server { listen 80; …
Maros
  • 1,825
  • 4
  • 25
  • 56
13
votes
3 answers

Programmatically add nodes to a load balancer like Haproxy?

I'm very sure this problem has been solved, but I can't find any information anywhere about it... How do sysadmins programmatically add a new node to an existing and running load balancer ? Let's say I have a load balancer running and already…
João Pinto Jerónimo
  • 9,586
  • 15
  • 62
  • 86
13
votes
2 answers

HTTP server behind IIS: pass authentication headers

I have an IIS instance configured with Windows Authentication and URL Rewrite, so it basically works as a reverse proxy. My backend server (run on Linux) expects a REMOTE_USER header. Is it possible to configure IIS to pass information about the…
13
votes
1 answer

Django returning "CSRF verification failed. Request aborted. " behind Nginx proxy locally

I'm running a simple Django application without any complicated setup (most of the default, Django allauth & Django Rest Framework). The infrastructure for running both locally and remotely is in a docker-compose file: version: "3" services: …
Cristiano Araujo
  • 1,632
  • 2
  • 21
  • 32
13
votes
2 answers

What is the difference between reverse proxy and web server?

I read an awesome post on application server vs. webserver at What is the difference between application server and web server?. Moreover, Difference between proxy server and reverse proxy server nicely explains what a proxy server is. I also…
watchtower
  • 4,140
  • 14
  • 50
  • 92