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
1
vote
1 answer

IIS Redirect a sub directory to an external URL

Hi forgive my ignorance for I am a humble client side developer... I am a webapp made up of static HTML and JS. But I want to call an external service via AJAX, this causes some issues with CORS or Cross Domain policy on the browser. So I need to…
Will Hancock
  • 111
  • 2
1
vote
2 answers

nginx location rewrite but proxy_rewrite off

I'm trying to use nginx for proxying requests to my internal backend. My configuration reads as follows: location /Shibboleth.sso { proxy_pass internal-backend; # ip proxy_redirect off; } But, my redirects are always rewritten.. My backend…
Jan
  • 11
  • 1
1
vote
0 answers

Varnish cached 'MISS status' object?

My site uses nginx, varnish, jboss. And some url will be cached by varnish, it depends a response header from jboss. The first time, jboss tells varnish doesn't cache this url. Then the second request, jboss tells varnish to cache, but varnish won't…
Hesey
  • 121
  • 2
1
vote
2 answers

Nginx reverse proxy and IIS

I'm using nginx as a reverse proxy for website running on IIS 7.5. Website is bound to sub-1.foo.bar. Nginx configuration looks like this: server { listen 80; server_name sub.foo.bar; location / { proxy_pass…
yojimbo87
  • 672
  • 5
  • 12
  • 22
1
vote
2 answers

multiple physical servers behind NAT with one IP

What would be the preferred solution for hosting several physical servers behind a NAT with one external IP? I know Apache can reverse proxy HTTP but if i want to do the same with FTP? Squid seems to be mentioned a lot but i am a little confused if…
kjertil
  • 5
  • 1
  • 2
1
vote
1 answer

Nginx for multiple server on same ip

I have one instance of jboss and one instance of jetty on the same server,so same ip,one is on port 8180 one on 8280.I am planning on setting up nginx on port 80,is it possible to route data to either one based on url? like ip/jboss and ip/jetty and…
sokie
  • 113
  • 4
1
vote
1 answer

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 dev.int.com; access_log off; location /…
bear
  • 222
  • 1
  • 3
  • 15
1
vote
1 answer

Reverse Proxy on a Lotus Domino Server?

Can Lotus Domino be setup as a reverse proxy server? I have 1 Domino server (web facing) which I would like to configure as a reverse proxy server for an IIS application running on another server? Is this possible, or do we need to use an apache…
atom
  • 181
  • 5
  • 16
1
vote
0 answers

ReverseProxy - send some URLs to another server for preprocessing

There is an existing application hosted on Apache. I want to send some urls(Post Forms) to another server(not apache - just a program) for some preprocessing. This is how this is organized 1) I have added an additional listen port on Apache conf…
user93353
  • 287
  • 1
  • 6
  • 17
1
vote
1 answer

Nginx's upstream failed, how to recover

From the doc: http://wiki.nginx.org/HttpUpstreamModule#server It said when the upstream reached max_fails within fail_timeout and it will become dead. What if my server is up sometimes after? In general, If a upstream server failed, will nginx…
Ryan
  • 5,831
  • 24
  • 72
  • 91
1
vote
1 answer

ProxyPass: discard body data

I have some rules like ProxyPass http://example.com/abc ... I want to accept requests to http://mypage.lan/xyz/123 and deliver the data of http://example.com/abc/123. I need to accept POST request, but I don't…
Kijewski
  • 191
  • 1
  • 8
1
vote
0 answers

Pound Ubuntu 12.04.1 - Private IP in apache logs. Should be Client's external IP. Help?

Have installed apsis Pound on Ubuntu Desktop 12.04.1. I am forwarding HTTP requests to an XServe (Snow Leopard Server) Apache instance, my problem is that I am getting local private IP addresses in the access_log, and pretty much all logs on the…
James
  • 83
  • 8
1
vote
1 answer

NGINX : Proxy pass intercepting 5xx errors - Possible to differentiate between ones fired by backed vs ones fired by nginx itself?

We use proxy_intercept_errors ( http://wiki.nginx.org/HttpProxyModule#proxy_intercept_errors ) with our backends. We intercept a number of status codes, including a few 5xx ones. Our 5xx (each 500 has its own) handler has an access_log so we can…
anonymous-one
  • 1,018
  • 7
  • 27
  • 43
1
vote
0 answers

Securing using SSL multiple web servers behind a single IP address

Background We have number of web servers serving services and pages behind a single IP address we want to use SSL to secure the connection from the clients to those servers. We access the web servers from the outside using subdomains and a reverse…
Uri May
  • 111
  • 3
1
vote
2 answers

Reverse Proxy Wordpress with Lighttpd

I am deploying an application and a Wordpress installation on AWS. I have Wordpress set up under Apache on an EC2, and my application under Lighttpd, and I want to reverse-proxy Wordpress through the application node. This works fine, I just set…
Jonah
  • 169
  • 2
  • 9