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 ...

learn more… | top users | synonyms

1
vote
1answer
298 views

Bad Gateway when seting up NGINX as a reverse proxy server for GAE

I want to use NGINx as a reverse proxy server so I can open my GAE (google app engine) web site from china mainland, because there most of google IP's are blocked by the GFW. DNS: I have those DNS ...
1
vote
0answers
875 views

proxy:error AH00898: Error during SSL Handshake with remote server

I have a server that acts as a front-end for a cPanel mailserver in a network. The apache proxy on the front-end server ran for 152 days without fault then suddenly I now get 500/502 errors when using ...
3
votes
1answer
149 views

What's the expected behaviour of multiple hostname entries with different IP addresses in /etc/hosts?

I know this has been discussed in several places, but there doesn't seem to be a definitive answer yet - at least not for RHEL 6. I'm just hoping someone might be able to point to how it's working so ...
1
vote
2answers
122 views

Any software/proxy that can do SMTP failover?

I'm using a monitoring software that sends out email to my ISP's mail server (SMTP Server). But sometimes, the ISP's mail server goes down, or takes too long to respond, I would like to find out if ...
1
vote
0answers
88 views

reverse proxy on apache for a single virtual host

Preamble: I've configured a publicly accessible server with multiple virtual hosts. The requests for one virtual host need to be sent to a backend server. All the other requests need to be served ...
0
votes
1answer
428 views

Apache as a reverse proxy not working for gunicorn

My Goal is to let client connect through https connection but apache serve it to my application which is running on same server over http. Here is my minimalistic apache configuration file (for ...
0
votes
0answers
145 views

Reverse Proxy Performance Issues with JIRA over Local Network

I am running a JIRA and a Confluence server behind a reverse proxy (Apache) and I am having some performance issues. It works perfectly fine when I accessing Jira from an external network (i.e. from ...
2
votes
1answer
362 views

Apache2 RewriteRule syntax for ActiveSync redirect in reverse proxy

Okay, I think this is a fairly simple task, but I'm having a little trouble testing reliably and working out what I've done wrong. I tried to follow the Apache mod_rewrite documentation, but it ...
2
votes
1answer
176 views

Apache Load Balancing Proxy bypass not working

I have been using apache as a reverse proxy to a puma application server (RoR). The assets are all in a subdirectory called assets, and I added a line to the apache configuration like this: ...
0
votes
1answer
260 views

Setting up Apache hosting Wordpress and Tomcat hosting JSP on the same machine using Apache as Reverse Proxy

How do I make traffic going into www.example.com/ go into www.example.com:8080/? And how do I make traffic going into www.example.com/blog/ go into www.example.com:80? My current attempt inside ...
1
vote
1answer
241 views

nginx reverse proxy: buffer responses?

I'm working on a configuration for a reverse proxy that's only purpose is to load balance requests between two upstream servers, primarily for redundancy in case one goes down. I'm curious about the ...
0
votes
1answer
222 views

nginx proxied responses terminating/truncating

I have this nginx config on a host (host1): server { ... location /foo { proxy_pass http://127.0.0.1:8091/; } } The backend nginx config looks like this: server { listen ...
1
vote
0answers
220 views

Getting nginx proxy to work properly with gunicorn/flask

I got this Flask app that I'm running with gunicorn on 127.0.0.1:5002 on this shared server. I got a nginx instance for myself that I can add custom configs to. The structure of the nginx directory is ...
0
votes
1answer
69 views

NGINX and routing between local server and a vm

i'm trying to make a decision, but i'm unsure if i can do the following with NGINX : NGINX will be installed on a linux server that will have a windows VM on it can NGINX point a fixed set of ...
1
vote
1answer
150 views

Reverse HTTP proxy as CDN origin server, how to handle last modified since?

I'm trying to set up redundant origin servers for a CDN that will deliver on demand video files. The current setup is that I have two "media" servers that have a large storage capacity and are running ...
0
votes
1answer
54 views

nginx error_page directive to proxy contents of a static url

I am trying to use error_page like the following, to trap errors, and then read content from an external url, and send that to the client: error_page 404 =404 @err404; ...
0
votes
0answers
87 views

Sharepoint Foundation 2010 wrong search URL behind reverse proxy

I have a Microsoft Sharepoint Foundation 2010 single server farm behind a reverse proxy (Microsoft TMG). The internal URL is http://intranet/ and the external address is https://access.mysite.com/. ...
0
votes
1answer
247 views

Nginx proxy_cache_key and HEAD->GET request

I have the following Nginx config: http { ... proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:8m max_size=3000m inactive=600m; proxy_temp_path /var/tmp; ... ...
2
votes
1answer
637 views

Nginx not outputting correct chunked responses

I have a backend with expressjs making partial responses on some endpoints. the pseudocode is something like that: function (req, res, next) { res.writeHead(200, { 'Content-Type': ...
0
votes
1answer
170 views

Using haproxy in front of Apache, reported SERVER_PORT wrong

I'm using haproxy 1.5-dev19 in front of Apache 2.4 (on Ubuntu 12.04). Haproxy is listening on ports 80 and 443, and Apache is listening on 8080 — yet, when I output $_SERVER['SERVER_PORT'] from PHP ...
0
votes
1answer
275 views

NGINX Reverse Proxy Sharepoint 2010 authentication fails

When presented with the Windows forms based authentication after entering the users credentials I am prompted again for a username and password. This just keeps prompting you, I see no errors in the ...
0
votes
2answers
232 views

Strange wait on static files from node.js express behind nginx proxy

OK, so the title might be a little confusing, but this issue really is! First things first though: a little background. I'm setting up a CI server for a customer, which should be used for automatic ...
0
votes
1answer
1k views

nginx reverse proxy, ssl offloading, caching and pagespeed all in one.

We currently host everything on windows IIS 7 servers. We just moved to Azure, and like many clouds hosting windows is more expensive than hosting linux. Azure has its own limitations for virtual ...
1
vote
1answer
115 views

Updating Server Virtual Machines Behind an NGINX Reverse Proxy

I have been scouring the internet for a solution or best practice to no avail. I have been playing around with Virtual Box Ubuntu server instances, and am trying to replicate a server environment that ...
2
votes
1answer
213 views

How can I stop nginx from retrying PUT or POST requests on upstream server timeout?

We are using nginx to load balance requests to our application. We have found that nginx switches to a different upstream server when requests time out (good). However it does this for PUT and POST ...
1
vote
0answers
55 views

Nginx reverse proxy using a hashed part of the url

to optimize local caching, I would like nginx to loadbalance requests based on only a part of the URL. For example: a) www.example.com/a/123123/b b) www.example.com/a/123123/c/d c) ...
2
votes
1answer
490 views

Redirect a subpath to a external host with Nginx

I need to create a quite simple map in Nginx redirecting a subpath to another server that is located in the same subnet. Nginx server: 192.168.0.2 Tomcat server: 192.168.0.3:8443 I tried to put ...
2
votes
1answer
339 views

Apache Reverse Proxy to Multiple Virtual Machines

I've looked all over for the solution to my problem and cannot find it. Setup: So I have a host machine running virtualbox with multiple web servers. Each VM (webserver) has 2 network adaptors; Nat ...
0
votes
1answer
378 views

Using Apache httpd to redirect context path?

I'd like to proxy http://localhost:1006/ as http://example.com/public/ to the outside world. Here is my configuration: RewriteEngine On # Append a slash if necessary RewriteRule ^/public$ public/ ...
0
votes
0answers
122 views

Conditionally setting a proxy header in Nginx

I have Nginx setup as a reverse proxy behind 2 different load balancers. My application server backend expects the header CF-Visitor: {"scheme":"https"} when the visitor connects over SSL. In both ...
-1
votes
1answer
97 views

Any reason to NOT turn on keep alive?

With Nginx acting as a reverse proxy and with SSL on, is there any reason to not turn on keep alive, especially if traffic is bursty (i.e. a user makes 10 requests in 20 seconds)? Specifically, are ...
3
votes
1answer
153 views

Is there a way to convert IPv6-style IPv4 addresses in X-Forwarded-For headers to IPv4-style?

I run a system that has a Pound reverse proxy in front of a squid accelerator, in turn in front of Apache2 powering a few PHP-based webapps. The Pound daemon is configured to send X-Forwarded-For ...
4
votes
3answers
483 views

How do I create a custom header from an existing SSL environment variable?

OK I have spent all day on this-- I'm using apache with mod_ssl I'm trying to take an existing environment header, "%{SSL_CLIENT_S_DN_CN}s" which looks like "Lastname Firstname Mi username" and set a ...
1
vote
2answers
366 views

Mediawiki behind reverse proxy populates user IP address with proxy address

I have apache running on a fw machine that reverse proxies different folders to different back end servers, and also wraps the connection in SSL. ...a fairly common setup. Predictably, the backend ...
0
votes
0answers
252 views

Nginx caching server skipping cache despite correct headers

I have an Nginx server that is a caching proxy for an Apache server running a Drupal website. The issue I'm seeing is that, for no apparent reason, some URI requests will hit the cache and others ...
2
votes
1answer
373 views

Domain Based Port Forwarding with VLAN routing [closed]

At my new workspace I want to setup a network that enables me to deploy my web development work on Dev, Test and Accept servers (VMs) with (controlled) access from outside the network - based on ...
0
votes
1answer
163 views

Choose Correct Reverse Proxy Via URL Parameter

From my understanding of git, the http/https interface is simple. You have two commands - push and fetch. Based on a wireshark trace the fetch URL appears to be in this format: ...
2
votes
1answer
225 views

Is it possible for a reverse proxy to make its request to another proxy and rewrite the urls in the response content?

I'm currently looking into reverse proxies and don't have a specific one in mind yet. I am trying to forward my requests from a reverse proxy through another proxy on the web with authentication. The ...
0
votes
1answer
163 views

HTTP reverse proxy redirect internally

To me, this seems like a simple scenario: Client makes request to reverse proxy at server X (http://proxy.example.com) Server X forwards request to backend server Y ...
0
votes
1answer
36 views

Apache: Forward to another port only for one website

I did install GitLab on my Apache server using this script https://github.com/gitlabhq/gitlabhq/issues/3626 and I configured Apache to forward everything incoming on port 8080 to port 3000 like this: ...
0
votes
1answer
248 views

IIS server farm with multiple websites

I'm trying to set up an iis server farm with multiple websites. I have a ControlServer that should redirect requests and manage load balancing for two similar iis web servers. These web servers ...
0
votes
0answers
115 views

Nginx as Reverse Proxy + URL Rewrite + Caching

Im a newbie to nginx and i have few queries in setting up nginx as a reverse proxy with url rewritting and Caching. I have setup my Nginx to act as a reverse proxy. When the user types ...
0
votes
1answer
171 views

Lotus Domino 8.5.3FP2 behind pound Reverse proxy: Wrong redirect

I have a problem with the following setup: A pound reverse proxy faces the internet with port 443. The pound reverse proxy is configured to redirect to the internal server The (internal) domino ...
1
vote
1answer
1k views

Apache server : Reverse proxy and websockets via mod_proxy_wstunnel

I have a little problem with the web sockets and my reverse proxy apache, i have upgraded in latest release 2.4.5 and loaded the module mod_proxy_wstunnel. The httpd.conf : <VirtualHost ...
2
votes
0answers
120 views

Unable to force passphraseless ssh authentication while port forwarding

I'm completely at a loss as to what is preventing my local machine from authenticating the connection that is being forwarded from the remote server. I've read a ton of the posts on here regarding ...
2
votes
1answer
600 views

Set header in apache if it doesn't already exist

I have a proxy that is injecting some headers but I want to modify it so it only sets the headers if they are not already present: <Location /api> RequestHeader set MY_HEADER "value" ...
0
votes
0answers
172 views

IIS Reverse Proxy to a Jetty Server

I have an application that I have to do some integration with that is using the Jetty web server. The company that makes the application gave me instructions on how I could use IIS to act as a reverse ...
0
votes
1answer
238 views

reverse proxy http to tomcat

I've configured an Apache server with SSL and reverse proxy to a tomcat <VirtualHost domain.com:1443> [...] ProxyRequests Off ProxyPreserveHost On ProxyPass / http://local.com:8080/ ...
2
votes
1answer
233 views

How can Apache serve as a Reverse Proxy for multiple sites?

I have my Apache Server running on port 80. I also have a Geoserver running in Jetty on port 8080. To avoid cross domain problems in JavaScript, I wish that any request that comes to ...
0
votes
0answers
150 views

Nginx reverse proxy with rewrite

I'm trying to come up with a configuration for utorrent server using nginx. Here is what I have so far: server { # etc... location /utorrent { proxy_pass http://127.0.0.1:8080/gui/; ...