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

varnish3.0.2 rewrite the url howto

I have lots directories which have the same image "_a.png",like these: /data/images/{a,b,c,d} Because this, the varnish cache multiple copies. Now I want to rewrite the urls to one,like this: if (req.url ~ "/_pty.png$") { set…
Sola.Shawn
  • 15
  • 4
1
vote
0 answers

IIS reverse-proxy outbound rules redirecting to external servers

I am working my way through establishing IIS as a reverse-proxy. I have set up two internal sites (served by IIS) termed Payroll and Webmail, and one external site (served by a different web server) termed IPS. All three sites are on localhost, but…
aag
  • 407
  • 1
  • 6
  • 19
1
vote
1 answer

how do I maintain a masqueraded url in a proxy session?

I have a proxypass rule in place for my website's support page (www.company.com/support) to redirect to a thirdparty hosted web site (company.custhelp.com)...but the sites link's themselves are all on the seperate domain. Is there a way I can…
580farm
  • 241
  • 2
  • 4
  • 12
1
vote
1 answer

forward traffic to ip based on ip?

I would like to do the following thing: I have a host server with two virtual webservers installed on it. First virtual webserver is production and second is development. In my DNS I have binded lets say example.com to my external IP, and in…
gGololicic
  • 11
  • 1
1
vote
1 answer

Squid - Selective reverse proxy and forward proxy

I'd like to setup a squid instance to do selective reverse proxy for a configured list of URLs while acting as a normal forward proxy for everything else. We are building new infrastructure, parallel live as it were, and I want to have a proxy that…
Dean Smith
  • 1,270
  • 2
  • 11
  • 13
1
vote
0 answers

ProxyPass on httpd breaking encoding

We are sending content with multibyte character data to proxypass, which is converting the characters to %uFFFD when it hits our database. How do i prevent httpd from messing with the encoding like this?
Barry Chapman
  • 430
  • 1
  • 5
  • 17
1
vote
0 answers

Nginx, wordpress: Unable to proper reverse proxy caching due to Set-Cookie. Recommendation for a good strategy

I am trying to do reverse proxy caching for a wordpress blog and I am hit with snags. The initial configuration was a simple reverse caching like this location / { proxy_cache_key "$scheme://$host$request_uri"; proxy_cache…
Quintin Par
  • 4,373
  • 11
  • 49
  • 72
1
vote
1 answer

Apache 2.4 proxy server gets Client Authentication but doesn't pass it to tomcat

I have previously had Apache 2.2.17 running as a reverse proxy which would request client authentication (using SSLVerifyClient) and would pass on that authentication to the jetty/tomcat application servlet engine. Then my Java application would…
1
vote
1 answer

Nodejs for processing js and Nginx for handling everything else

I am having a nodejs running on port 8000 and nginx on port 80 on same server. I want Nginx to handle all the requests(image,css,etc) and forward js requests to nodejs server on port 8000. Is it possible to achieve this. i have configured nginx as…
Kevin Parker
  • 757
  • 1
  • 13
  • 32
1
vote
1 answer

Nginx case-insensitive reverse proxy rewrites

I'm looking to setup an nginx reverse proxy to make some upcoming server moves and load balanced implementations much easier within our apps. Since our servers are all IIS case sensitivity hasn't been an issue, but now with nginx it's becoming one…
BrianM
  • 185
  • 1
  • 2
  • 8
1
vote
1 answer

Nginx: Can I cache a URL matching a pattern at a different URL?

I have a site with some URLs that look like this: /prefix/ID, where /prefix is static and ID is unique. Using Nginx as a reverse proxy, I'd like to cache these pages at the /ID portion only, omitting the prefix. Can I configure Nginx so that a…
Josh French
  • 113
  • 3
1
vote
1 answer

How to cache streaming video and silverlight with squid windows reverse proxy

We have an intranet web server running a silverlight application (ACTUS media monitor if anyone cares to know). The server is used to record video and stream it to clients through a CDN solution. We want to put a reverse proxy in between the server…
V. Romanov
  • 1,169
  • 1
  • 10
  • 19
1
vote
1 answer

Nginx configuration as a POP3/SMTP reverse proxy on DMZ

Possible Duplicate: nginx as smtp proxy i am here to ask help about how to configure Nginx as a reverse proxy for POP3/SMTP service. We have a Zimbra server offering services as webmail, POP/SMTP, Calendar, etc. The Zimbra server inside the LAN…
user1106811
  • 119
  • 1
  • 3
1
vote
2 answers

Apache reverse proxying for multiple URIs

When using apache to reverse proxy, is it possible to forward http://somesite.com/ and http://somesite.com/foo to different servers? Say one goes to http://internalserver1/ and the other goes to http://internalserver2/foo I can obviously just drop…
Devnull
  • 951
  • 1
  • 7
  • 23
1
vote
2 answers

Apache 2.2 on Mountain Lion ignoring ProxyPass and sending request to DocumentRoot

I have sickbeard running at 127.0.0.1:8081/sickbeard ProxyRequests Off ProxyPass /sickbeard http://127.0.0.1:8081/sickbeard ProxyPassReverse /sickbeard http://127.0.0.1:8081/sickbeard in httpd.conf And yet when I try and access…
James H
  • 13
  • 1
  • 4