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.

A reverse proxy is a type of server. Unlike a traditional "forward proxy" server, a reverse proxy fetches resources from a specific defined set of servers for a client. The Apache HTTPD server's mod_proxy module is a popular example of software that can be used as a reverse proxy.

A reverse proxy can be used in cases when there is an advantage to not exposing the server with the content directly to the Internet, whether it be for security reasons or because of a lack of available public IP addresses.

3190 questions
6
votes
1 answer

ErrorDocument when using Apache as reverse-proxy

'evening, I have an Apache server (2.2.19) and a 4D Webstar server (kinda unknown HTTP server) on the same physical server. Apache only listens the SSL port (443) and is used as a reverse-proxy to 4DW (through a SSL VHost). Here are the two proxy…
Nicolas BRERO
  • 163
  • 1
  • 1
  • 4
6
votes
2 answers

Can nginx be made to cache upstream responses containing an X-Accel-Redirect header?

I am using nginx as a reverse proxy in front of application server. The application responds with an X-Accel-Redirect header telling nginx which static file to serve. What I'd like to be able to do is have nginx cache some of these upstream…
D. Evans
  • 161
  • 1
  • 3
6
votes
3 answers

Tools for introspecting Varnish

Has anyone developed, or does anyone know of, any third-party tools (or non-obvious uses of the stock tools) to help a poor systems administrator determine what's going on with requests that are passing through Varnish? While varnishstat,…
womble
  • 96,255
  • 29
  • 175
  • 230
6
votes
2 answers

Exposing IMAP server to Internet: DMZ or Port Forwarding?

We currently have all our email stored on a Dovecot IMAP server in our internal network. Client machines on the network are able to connect and access their email. Now we want to allow certain users to be able to connect in and view their email from…
FixMaker
  • 235
  • 1
  • 4
  • 9
6
votes
2 answers

Nginx infinite redirect loop

Why is http://compassionpit.com/blog/ going through an infinite redirect loop? Here's my nginx conf file. The site is run by a nodejs server on port 8000 and Apache serves up the blog (wordpress) and the forum (phpBB). The forum is resolving just…
Zack Burt
  • 201
  • 1
  • 3
  • 6
6
votes
2 answers

Does it make sense to reverse proxy Node.js through Apache?

Perfomancewise, does it make sense to redirect requests from an Apache VirtualHost to a Node.js instance? Does proxying counterbalance the awesome Node.js performance? FYI: I also need a couple of PHP web apps to be parsed and run on the same…
Daniel
  • 215
  • 3
  • 7
6
votes
2 answers

HAProxy: Display a "BADREQ" | BADREQ's by the thousands

My HAProxy Configuration. #HA-Proxy version 1.3.22 2009/10/14 Copyright 2000-2009 Willy Tarreau global maxconn 10000 spread-checks 50 user haproxy group haproxy daemon stats socket /tmp/haproxy log localhost …
grufftech
  • 6,760
  • 4
  • 37
  • 37
6
votes
3 answers

Apache2 reverse proxy seems to intermittently freeze?

Apache2 reverse proxy seems to intermittently freeze when proxying a tomcat web app. The problem is that every so often (once or twice a day usually after inactivity) when I try to log into this proxied web application it just freezes. The…
tinny
  • 491
  • 2
  • 5
  • 11
6
votes
3 answers

IIS 7 Reverse Proxy based on domain name host?

How would I configure IIS 7.0's ARR and URL Rewrite to reverse proxy based on a host. For example: http://website1.mydomain.com gets routed internally to internalserver\website1 http://website2.mydomain.com gets routed internally to…
Matias Nino
  • 1,392
  • 7
  • 25
  • 40
6
votes
3 answers

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 http://127.0.0.1:8080/hudson It was pretty…
odie
  • 63
  • 1
  • 4
6
votes
3 answers

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 wonder at what point will the nginx server become a…
Aaron
  • 140
  • 2
  • 7
6
votes
1 answer

Apache 2.2 disable reverse proxy on location

I'm running Apache 2.2 on FreeBSD. As of late I've been looking at Cherokee + uWSGI for some Django/Python. I want to keep Apache 2.2 at the front (port 80 replies) and proxy connections to my Cherokee server running at the same machine. My problem…
Daniel Johansson
  • 355
  • 5
  • 13
6
votes
9 answers

Forwarding HTTP Request with Direct Server Return

I have servers spread across several data centers, each storing different files. I want users to be able to access the files on all servers through a single domain and have the individual servers return the files directly to the users. The following…
Daniel Crabtree
6
votes
0 answers

What is the nginx Variable for a custom Header?

A client is sending a custom HTTP Header X-ABC-LOGIN-NAME to my Nginx reverse proxy. To be sure that it is actually arriving, a PHP server (fastcgi) was installed and this header is really showing up (with a value) in phpinfo(), section 'PHP…
TMOTTM
  • 161
  • 1
  • 1
  • 4
5
votes
1 answer

Replacing URI when using dynamic hosts in Nginx reverse proxy

FYI - I suspect this has a very obvious/simple answer (I'm new to nginx) I am using dynamic upstreams as part of my Nginx config. This means using variables in the proxy_pass directive, which instructs nginx to use a resolver instead of…
Hamy
  • 367
  • 3
  • 11