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 ...

learn more… | top users | synonyms

101
votes
12answers
99k views

How to set up Nginx as a caching reverse proxy?

I heard recently that Nginx has added caching to its reverse proxy feature. I looked around but couldn't find much info about it. I want to set up Nginx as a caching reverse proxy in front of ...
31
votes
3answers
48k views

Can IIS be configure to forward request to another web server?

I have several web site set up on one IIS 6 server distinguished by Host Header. However, I wish to have one of the sites served by a Linux / Apache server on my network. Do I need to use a reverse ...
7
votes
1answer
12k views

Nginx reverse proxy + URL rewrite

Nginx is running on port 80, and I'm using it to reverse proxy URLs with path /foo to port 3200 this way: location /foo { proxy_pass http://localhost:3200; ...
3
votes
1answer
4k views

Can nginx listen on port 80, but send upstream to backend using SSL on 443?

For PCI compliance, my application is forced to use a secure/encrypted connection between the reverse proxy server and backend app server, whereas the connection coming into the reverse proxy is on ...
13
votes
1answer
3k views

Why is setting Nginx as a reverse proxy a good idea?

I have a Django site running on Gunicorn with a reverse proxy through Nginx. Isn't Nginx just an extra unnecessary overhead? How does adding that on top of Gunicorn help?
6
votes
3answers
7k views

How to rewrite the domain part of Set-Cookie in a nginx reverse proxy?

I have a simple nginx reverse proxy: server { server_name external.domain.com; location / { proxy_pass http://backend.int/; } } The problem is that Set-Cookie response headers contain ...
18
votes
6answers
6k views

What is a Reverse Proxy?

I know what a proxy is, but I'm not sure what a reverse proxy is. It seems to me that it's probably akin to a load balancer. Is that correct?
7
votes
6answers
5k views

Is there a name based virtual host SSH reverse proxy?

I've grown quite fond of HTTP reverse proxies in our development environment and found the DNS based virtual host reverse proxy quite useful. Having only one port (and the standard one) open on the ...
8
votes
3answers
7k views

nginx real_ip_header and X-Forwarded-For seems wrong

The wikipedia description of the HTTP header X-Forwarded-For is: X-Forwarded-For: client1, proxy1, proxy2, ... The nginx documentation for the directive real_ip_header reads, in part: This ...
3
votes
1answer
3k views

Cookie Authentication in Apache

I'm trying to set up a reverse proxy in Apache. The user will be required to log in, and will then be sent a cookie. I want Apache to check the cookie. Is there a way to do this? EG, right now my ...
2
votes
2answers
2k views

Configuring lighttpd for many lightweight concurrent Keep-Alive http connections

I am using lighttpd as a front-end proxy to my custom HTTP based application server. I need to configure lighttpd for a large number (let's say around 5000) simultaneous http connections which have a ...
3
votes
2answers
2k views

Requests per second slower when using nginx for load balancing

I've set up nginx as a load balancer that reverse proxies requests to 2 Apache servers. I've benchmarked the setup with ab and am getting approx 35 requests per second with requests distributed ...
3
votes
2answers
7k views

How can I set use mod_proxy_ajp with Apache and Tomcat?

I'd like to run Apache and Tomcat on an RHEL 5 server with Apache handling Ruby on Rails apps (through mod_rails/Passenger) and Tomcat handling Java apps. Under Apache, each Rails app will have a URL ...
2
votes
1answer
2k views

Apache2 Reverse Proxy With Authentication on Windows 7?

I am trying to setup an Apache2 reverse proxy from my laptop (Windows 7, Apache 2.2.17) to a Nexus server (Windows Server 2003) on our network. This is just a test before setting this up for real on ...
2
votes
3answers
5k views

Needed: Simple HTTP reverse proxy for Windows 2008

I need a simple HTTP reverse proxy to be installed on Windows Server 2008 x86 32. All I need from it is to route incoming HTTP (GET and POST) requests to another machine, with a different port, and ...
1
vote
2answers
906 views

running nginx as a reverse proxy with apache

Q1) Do I need mod_deflate running on apache? does it help in performance in anyway? Q2) Do I need mod_cache running on apache if nginx is serving a static caching proxy? <IfModule mod_cache.c> ...
2
votes
5answers
2k views

I am looking for a good load balancing (or reverse proxy) software for TCP and HTTP, any suggestions? [closed]

I am looking for a good load balancing (or reverse proxy) software for TCP and HTTP, any suggestions?
1
vote
1answer
407 views

Fisheye + Nginx Reverse Proxy

I'm trying to run Fisheye behind a proxy. So far, I've managed to get Jira and Stash to work behind the proxy, but not Fisheye. Here's my config file in Nginx: server { listen 80; server_name ...
13
votes
5answers
6k views

Nginx vs Apache as reverse proxy, which one to choose

this kind of question maybe has been asked here but I couldn't find any that really match my question. Heard that nginx performance is quite impressive, but Apache has more docs, ...
4
votes
4answers
4k views

What are the Differences between HAProxy and Ngnix in reverse proxy mode?

What are the differences between HAProxy and Nginx when it comes to their abilities as a reverse proxy?
3
votes
1answer
5k views

How to use nginx as reverse proxy with multiple IPs and SSL?

I would like to setup nginx reverse proxy with multiple domains and an IP for each of them to use different SSL Certs. I run Ubuntu as OS which is installed on a KVM/Qemu VM. As I understand nginx, ...
6
votes
3answers
4k views

Mapping hudson to a subdomain through nginx proxying

I'm now trying to setup nginx as a reverse proxy for Hudson so it can be access on http://build.example.com directly. I've already installed Hudson on Tomcat and verified that I can access Hudson on ...
3
votes
1answer
250 views

Setting up a complex Apache reverse proxy

We are about to move a website to a new server running a new piece of software, normally a simple change but we also have a dutch version of the website running in a folder /nl. We would like to ...
2
votes
1answer
3k views

Is it possible to configure HAProxy to choose a backend server based on a request's source IP? If so, how?

The title pretty much says it all. Basically, I want to route a request to a specific backend server based on the request's source IP. i.e., HTTP Request from 192.168.100.1 -> HAProxy -> ...
2
votes
2answers
858 views

Apache : Map one virtualhost to a subdirectory of another virtualhost

I'm trying to map one virtual host to a subdirectory of another virtual host, something like this http://host2.com -> http://host1.com/host2. At this moment, whenever I go to http://host2.com it ...
2
votes
3answers
1k views

Determine nginx reverse-proxy load limits

I have an nginx server (CentOS 5.3, linux) that I'm using as a reverse-proxy load-balancer in front of 8 ruby on rails application servers. As our load on these servers increases, I'm beginning to ...
2
votes
2answers
5k views

Apache proxy: passing on REMOTE_USER to backend server

We are using shibboleth for authentication. Our shibboleth Service provider is running on a host that is running apache with reverse proxy configuration (mod_proxy). The applications using shibboleth ...
1
vote
1answer
435 views

HTTPS reverse proxy for HTTP-only web service

I have a Windows web service application running on HTTP, no HTTPS support. Can someone recommend some lightweight HTTPS reverse proxy in front of it, so connections to it from the outside can go ...
0
votes
1answer
113 views

Nginx as a reverse proxy + Apache or completely cut out Apache? (WordPress Multisite)

I am starting a WordPress multisite network with domain mapping and I am trying to think through my server set up. Right now, I only have one medium sized VPS but hopefully I will need to add more ...
0
votes
3answers
235 views

SSL reverse proxy and security (eavesdropping)

I am new to the hosting in datacenter. I would host my app in a datacenter (colocation). I can sell me only the bay I need. I would like to use a SSL reverse proxy : SSL Reverse proxy + LoadBalancer ...
0
votes
3answers
4k views

Reverse Proxy FTP traffic

I was wondering if anyone knew of a reverse proxy server to reverse proxy ftp traffic. I would like to run many servers on ip address, but then pass the traffic to an internal server with its own ip ...
4
votes
3answers
1k views

Varnish only cache assets from single session

Currently I manage to configure varnish to cache items from 1 user, but the when the second users comes in varnish fetch another asset from Apache. How can I cache static assets behind magento ( ...
3
votes
4answers
3k views

SSH Tunnel for Remote Desktop via Intermediary Server Part II

I asked previously how to configure 2 SSH tunnels using an intermediary server in order to run Remote Desktop through them and I managed to make it work. Now, I'm trying to do the same, using the same ...
3
votes
1answer
1k views

How do I DRY up this Nginx configuration?

I’m on Nginx 0.8.54 trying to achieve the following as DRYly as possible: Proxy straight to localhost:8060 if cookie no_cache is true or if request method isn’t GET. Otherwise serve static files ...
2
votes
1answer
240 views

How can Apache serve as a Reverse Proxy for multiple sites?

I have my Apache Server running on port 80. I also have a Geoserver running in Jetty on port 8080. To avoid cross domain problems in JavaScript, I wish that any request that comes to ...
2
votes
2answers
2k views

Apache Rewrite or Proxy to internal server

First off, this is my first go at apache, so please forgive my beginingingismness :) My basic setup is as such: mysub.domain.com gets sent to my static IP via a CNAME entry at godaddy's DNS manager. ...
2
votes
2answers
933 views

nginx load balancing issue with 301 from backend

I am running into an odd problem for which I am not sure if it is a configuration issue or a bug in nginx. My setup is a nginx reverse proxy which has Apache2 backend servers. The load balancer is ...
2
votes
1answer
390 views

Nginx as reverse proxy to Apache with only dynamic content?

It seems to be universally considered good practise to run Nginx as a reverse proxy in front of Apache for serving PHP. Is this still the case when using a CDN to serve all static assets ...
2
votes
2answers
4k views

reverse proxy on PFsense, squid or otherwise

I've been trying to get this to work for days now and its not working. After bashing my head against the desk enough times, I've decided to man up and ask. I'm desperately trying to set up a reverse ...
2
votes
1answer
2k views

Redhat with a reverse proxy, a specific configuration

The setup I am trying to put together consists on a server connected to the internet (a redhat box) and 2 Apache Tomcat boxes not connected to the internet. Let's call the server Server and the two ...
1
vote
1answer
317 views

AWS: network ACL blocks outbound traffic

I am implementing a REST service in Amazon AWS. The internal servlets listen on numerous ports like 8080 and 9000, and an Apache configured as a reverse proxy serves them with proper URL schema using ...
1
vote
1answer
275 views

Passing Client IP across Multiple Proxies

I have a load balancer in front of an Apache httpd server, which in turn is in front of a server running Tomcat6. We're using Tomcat to running Shibboleth's IdP. The follow looks like this: Client ...
1
vote
0answers
265 views

IIS reverse proxy with Windows Auth throwing intermittent 502 errors

I have set up a web site (www.mysite.com) on IIS to provide SSL and Windows Auth, and to forward all HTTPS requests to another server (BIOS name: internalserver; port 2080). The rule specifying this ...
1
vote
0answers
140 views

Apache: Setting up a reverse proxy configuration with SSL with url rewriting

There is a host: secure.foo.com that exposes a webservice using https I want to create a reverse proxy using Apache that maps a local http port on a server internal.bar.com to the https service ...
1
vote
2answers
571 views

httpd access log, ip logged is reversed proxy how to find actual proxy

Check access log and found out that the IP that was logged from users came from the reversed proxy server. The setup is like this www.abc.com -> reversed proxy to my server 123.123.123.123 Is ...
1
vote
1answer
608 views

proxy/vpn by dns entry

I've been using a service by unblock-us.com, which provides a proxy to Canadians/others allowing access to services that are locked down to only US ip addresses. This is easy enough to achieve by ...
1
vote
1answer
160 views

Proxying to the same server on multiple ports?

I'm busy configuring an nginx reverse proxy that resides on one server, which will sit in front of one (for now) apache webserver on a different server, which will be serving a Django appplication via ...
1
vote
1answer
529 views

Outlook Web Access, reverse proxy and browser

We recently moved an exchange server behind a reverse proxy due to the loss of a public IP. I've managed to configure the reverse proxy (httpd proxy_http). But there is a problem for the SSL ...
1
vote
0answers
358 views

lighttpd 1.5 reverse-proxy to trac

I'm running lighttpd 1.5 freshly compiled off svn. I have a trac daemon listening on port 8000 and I want to proxy all requests matching ^http://xx.xx.xx.xx/trac(*.) to that daemon. Here is what it ...
1
vote
2answers
661 views

nginx caching dynamic content to static

I've read and heard that nginx can cache dynamic content and make it static so it loads faster taking more of a load of apache. has anyone done this before? is it worth it? any pros/cons to it?