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
4
votes
3 answers

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 ( css, js , image pdf etc ) accessible from multiple…
Rianto Wahyudi
  • 493
  • 3
  • 11
4
votes
1 answer

Reverse proxy Outlook

We use a reverse proxy for our Outlook Web Access. Somebody once told me that a you better never use this reverse proxy from inside the company, because is would not be secure (in fact, you go outside, to return back to your own company…
moviefreak
  • 61
  • 1
4
votes
2 answers

TCP Reverse Proxy through VPN

I have a rather odd situation, but it's simple, I swear. I have a server (we'll call it host A) that's connected up to the internet and I use for some websites and other odds and ends. I have another server (we'll call it B) that's hosting files and…
jcrawfordor
  • 193
  • 1
  • 7
4
votes
1 answer

nginx proxypass rewrite base url

I'm trying to setup Nginx to forward requests to several backend services using proxy_pass. A few of them don't support being accessed under a sub-folder, so I have to add a rewrite to strip the sub-folder which is appended to allow access to them…
Thermionix
  • 917
  • 2
  • 15
  • 28
4
votes
2 answers

nginx proxypass monit links

I'm trying to setup Nginx to forward requests to several backend services using proxy_pass. Loading https://example.com/monit works, however the links within the page are to https://example.com/sshd instead of https://example.com/monit/sshd I'm…
Thermionix
  • 917
  • 2
  • 15
  • 28
4
votes
2 answers

How to serve MailCatcher behind HTTPS and authentication?

I am developing a Ruby on Rails app, and have a staging server. But this staging server isn't sending any emails -- instead, it is discarding them. In order to test our emails being sent, and how those emails looks like (so we can use the staging…
jmonteiro
  • 171
  • 1
  • 6
4
votes
2 answers

nginx leads to 504 error, but my app is still running

So, we're using Node.js to power CompassionPit.com, and it's all served up by nginx. nginx is throwing a 504 Gateway Time-out The interesting thing, however, is that if I navigate to http://compassionpit.com/index.html, then I can access the page (I…
Zack Burt
  • 201
  • 1
  • 3
  • 6
4
votes
1 answer

IIS IP Logging through reverse Proxy (Cloudflare)

I'm using an IIS server behind the nice "Cloudflare" reverse proxy. This reverse proxy farm exposes a HTTP header to my server, namely HTTP_CF_CONNECTING_IP. It contains the IP that connects to Cloudflare, so I can actually see who's connecting. Now…
sinni800
  • 263
  • 2
  • 11
4
votes
0 answers

IIS7 proxying VisualSVN server refuses to allow Web.config files to be committed

I use IIS 7.5 with the Application Request Routing and URL Rewriting modules to act as a reverse proxy for several apache-based web sites, including VisualSVN Server. I'm having a problem when I try to commit a Web.config file, TortoiseSVN gives me…
Tim Long
  • 1,738
  • 1
  • 21
  • 41
4
votes
2 answers

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 between the 2 backend servers (not using ip_hash). What…
Ed Eliot
  • 41
  • 1
  • 4
4
votes
3 answers

Transparantly make multiple web applications available at a single address

I have multiple web applications running on their own http server, e.g. a ruby/rails application on port 8080 and a python/cherrypy application on 8081. Is it possible to make these transparently available via single port address? Perhaps by adding…
ckuijjer
  • 143
  • 4
4
votes
1 answer

How to utilize Varnish for A/B Testing and Feature Rollout?

Today we have our web layer exposed to the world. We would like to add Varnish in front of our web layer to accelerate the site and reduce calls to the backend. However, we have some concerns and i was wondering how most people approach them: A/B…
Ken
  • 181
  • 1
  • 4
4
votes
1 answer

How to setup reverse proxy to forward domain names to different servers?

I have a CentOS5 server with Apache, which have one external IP address with the hostname "example.com". What I like is that sub1.example.com sends http requests to 10.10.10.10 sub2.example.com sends http requests to 10.20.20.20 Looking at the…
Sandra
  • 10,303
  • 38
  • 112
  • 165
4
votes
4 answers

What alternative is there to Nginx that supports http keep-alive between backends?

I recently asked a question about how to keep a backend connection persistent using Nginx, but found out it wasn't possible anyway, It is an HTTP/1.0 proxy without the ability for keep-alive requests yet. (As a result, backend connections are…
felace
  • 141
  • 1
  • 2
4
votes
3 answers

What port should I use for my reverse proxy to Apache 2 from nginx?

I have nginx setup as the defacto port 80. I want to setup django+mod_wsgi on Apache2. I'm worried if I leave Apache2 as 80 it will cause a conflict. Is it better to avoid the headache and change Apache to a different port? server { listen 80; …
meder omuraliev
  • 1,721
  • 3
  • 21
  • 30