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 proxy folder to url

I have some sites I want to redirect with nginx: domain.com:1180 -> test.domain.com (static site) domain.com:1280 -> test.domain.com/promo (meteor.js website) On domain.com I have an nginx server with the following site enabled: server { listen…
Mascarpone
  • 872
  • 3
  • 9
  • 28
1
vote
0 answers

Nginx SSL Proxy for FIsheye

I've scoured the internet, and stumbled across Fisheye + Nginx Reverse Proxy many times, but it doesn't seem to be answering my question. I have Atlassian's FIsheye up and running. Right now, Fisheye is listening on port 8060, and there is an nginx…
Kirk
  • 213
  • 1
  • 10
1
vote
2 answers

Nginx as a proxy for tomcat with subdirectory

I want to set up a Nginx Proxy for the Tomcat server with my domain name such as example.com/demo/sample example.com/demo/manager example.com/demo/other_apps ... Here is my Nginx server block configuration server { listen 80; …
Xianlin
  • 665
  • 4
  • 15
  • 21
1
vote
0 answers

IIS Reverse Proxy on Subdirectory Breaks Root Directory

I am running a HTML, single-page application on IIS 7.5. I am trying to set up a reverse proxy in a subdirectory so that i can make same-domain requests to my API. So i want my site to behave like this + site/ | - index.html | - app.js | + api/…
Markus
  • 111
  • 2
1
vote
1 answer

SetEnvIfNoCase directive match ip failing

I'm trying to set some specific headers based on the client IP address via an Apache reverse proxy. I try to use SetEnvIfNoCase/SetEnvIf but I somehow fail to write a correct regular expression :( Here what I tried to set in httpd.conf (assume that…
vap78
  • 113
  • 3
1
vote
0 answers

Squid in reverse proxy mode: need to rewrite host headers

I am trying to deploy squid on a server to which I can point a number of domain names and have it load content from my main domain www.example.com, which is on my private network. Basically I need a way to rewrite the host headers sent from the…
Nick M
  • 121
  • 5
1
vote
1 answer

IIS 7.5 Reverse Proxy URL Re-Write to website with gzip

If we own www.ourdomain.com and wanted to rewrite the url to say www.google.com, how would we deal with gzip compression on say the google domain. I'm trying to do a proof of concept and i believe the issue is the website we are trying to rewite to…
MrBeanzy
  • 171
  • 9
1
vote
1 answer

Using Apache variable

I'm trying to use Apache's OpenID authentication module. According to this page, I should be able to use the REMOTE_USER Apache variable to identify the user. I'd like to pass this as a header to an upstream application (I'm using Apache to…
Ryan Kennedy
  • 203
  • 2
  • 11
1
vote
1 answer

Linux - reverse proxy - What is the easiest tool for powerful reverse proxy?

I am setting up a domain with a set of URLs per customer (customerx.domain.com) on a set of Debian servers. What is the best tool to redirect incoming requests to different servers and/or different services on the same server depending on some…
BxlSofty
  • 753
  • 1
  • 5
  • 11
1
vote
1 answer

Nginx reverse proxy server not serving cached homepage correctly

I've been configuring a new server for a web development client recently, and run into an interesting problem. The site is fairly high-traffic, but the CMS is fairly heavy and inefficient at generating pages in realtime. This slows page loads down…
1
vote
1 answer

Why Nginx reverse proxy shows http location?

I need help with my nginx configuration. In this config I've got /svn location, that comes to apache http. Apache is password protected (Basic Auth) When accessing https://my.server.com/svn it shows the apache login prompt, but in it, I can see that…
Lisek
  • 309
  • 2
  • 7
  • 15
1
vote
1 answer

Nginx reverse proxy gives 404 with static content requests

Our setup is two servers: One serves WP installation The other one is used for extra custom functionality. Server 1 that hosts WP is using Nginx as web server and reverse proxy to Server 2. In Server 1 we have a simple location block for reverse…
jimmy
  • 121
  • 1
  • 5
1
vote
0 answers

Confluence Proxy Error Reason : Error reading from remote server

Since this morning I have trouble accessing my confluence. It's on an Ubuntu 12.04 server. The error itself is this Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET…
RayofCommand
  • 1,451
  • 8
  • 26
  • 36
1
vote
0 answers

Apache httpd proxy:reverse error

I have a apache server that handle normal http request for a mobile game. It is like average 2-4 request per second and every thing is working smoothly. However, a unexpected error occur every few hours and it makes apache busy and hold apache for…
Chris
  • 53
  • 2
  • 9
1
vote
1 answer

Apache ProxyPass doesn't work for nginx

I'm trying to configure Apache's VirtualHost as a reverse proxy for nginx server (all of the current apps are using Apache and this new app is using some specific features of nginx). Used configuration:
sputnikus
  • 111
  • 1
  • 1
  • 3