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

Nginx - forward request to absolute url

I'm looking to proxy mapquest OSM tiles so I can serve them to my users via SSL. This is what my nginx config looks like: upstream maptile_server { server otile1.mqcdn.com; server otile2.mqcdn.com; server otile3.mqcdn.com; server…
kbanman
  • 209
  • 2
  • 7
1
vote
1 answer

squid:how to keep cached contents up-to-date

Is there a way to let squid check if cached contents are outdated?If cached contents ARE outdated,how to let squid fetch the newest contents from original server?
Steven Jang
  • 61
  • 1
  • 5
1
vote
1 answer

Apache as reverse proxy: synchronous or asynchronous?

I'm using Apache to serve static content, and then reverse proxy-ing to a Rails server to process dynamic content, some of which can take a long time to generate. When Apache hands off a request to a reverse proxy, is an Apache process used up just…
1
vote
0 answers

IIS 7.5 Reverse proxy authenticate requests before forwarding

I have an internal site that I would like to make available externally. But, I would like to make it available only to a mobile app of my making. The internal site cannot be altered unfortunately, and cannot be made available externally on it's own.…
SmithMart
  • 111
  • 2
1
vote
2 answers

Apache removes Authorization header

Apache is acting as a reverse proxy in my setup. The application server running on port 8081 requires a valid Authorization header. The header is set by the client application. Apache seems to remove this header. It does not reach the server on port…
1
vote
0 answers

Reverse MySQL Proxy That Selects Destination Server by Username

I am wondering if there exists such a thing that I describe as a "reverse proxy" for MySQL Server. It should be capable of connecting to a specific host from pool of back-end servers. The key to selecting the back-end host would be obtained from…
Tuaris
  • 71
  • 2
  • 13
1
vote
1 answer

Apache proxy for CAS SSO - configuration example

I need to use an Apache (or other) proxy to enable SSO on a platform which does not natively support CAS (namely splunk) It looks like everyone on Internet has "successfully configured their Apache CAS proxy" but we (Google and I) cannot find any…
WoJ
  • 3,607
  • 9
  • 49
  • 79
1
vote
1 answer

Nginx Reverse Proxy to Heroku Application

Is it possible to use Nginx on my personal VPS to act as a reverse proxy in front of Heroku (running a Ruby on Rails app)? I'd like to do this because I want to route standard requests (i.e. GET http://mydomain.com) to my Rails app, but various…
Brandon
  • 191
  • 2
  • 6
1
vote
1 answer

Configuring a reverse proxy to an external server through SSL while tomcat also uses SSL

I have two Amazon EC2 instances, call them A and B. A runs Apache and Tomcat. On server A, Apache only uses plain HTTP. Tomcat listens on 8443, but I use iptables to redirect requests on 443 to 8443 for Tomcat. What I need to change is that I want…
hsnm
  • 163
  • 7
1
vote
2 answers

Apache Reverse Proxy IIS Streaming File

We recently setup an apache reverse proxy with IIS sitting behind it. All of our apps work fine except for one. In one app we will prepare and stream a PDF file to the user with the follow example code: Response.Clear(); Response.ContentType =…
James
1
vote
1 answer

Subversion server behind firewall and Apache reverse proxy exhibits intermittent hanging

Here's my situation: 1) DMZ: I have an self-signed SSL Cert on an Apache server (our bastion host) configured to run as a reverse proxy for 7 other LAN servers (subversion, ldap, jenkins, confluence, jira, mapi, etc). 2) Firewall: Between the DMZ…
Dave
  • 607
  • 1
  • 9
  • 18
1
vote
1 answer

Setting up Wildcard subdomain (with reverse proxy) on apache 2.2.3

What I am trying to achieve is the following: I want to have numerous subdomains such as abc.domain.com redirect to a url such as www.domain.com/something?subdomain=abc Since I am redirecting to a fully qualified domain, I needed to use a reverse…
Adam Benayoun
  • 1,138
  • 2
  • 14
  • 26
1
vote
0 answers

Apache configuration with proxy and location

I want to map these domains to these ports. How can I do it? http://test1.example.com/phpmyadmin/ example.com:80/phpmyadmin/ http://test1.example.com/app1/ example.com:8080/app1/ http://test1.example.com/app2/ …
1
vote
1 answer

IIS 7+ Application Request routing balance between two different sites on the same box

I am looking to setup request routing on a single server. 1 incoming hostname (www.mysite.com) 2 websites (www1.mysite.com and www2.mysite.com) load spread evenly between them. This is purely so that I can setup a Continuous Delivery solution, so…
Doug
  • 283
  • 2
  • 10
1
vote
0 answers

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 setup reads:
aag
  • 407
  • 1
  • 6
  • 19