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

0
votes
1answer
22 views

nginx reverse proxy not passing requests

I have a domain (example.com) and a subdomain (sub.example.com) both hosted on the same server. I want to proxy a request so any file requested on http://sub.example.com/api/ will be requested on ...
2
votes
1answer
842 views

Problems setting a cookie from a machine proxied by nginx

For a project of mine, I need to wire up a long chain of machines that are essentially proxying the HTTP requests for each other. It goes like this: Web client - A - B/C - D When a request is made ...
0
votes
1answer
31 views

Nginx Reverse Proxy: servername.domain.com reverse to http://ip.add.res.s/location/App

I need a little help sorting out how to configure a reverse proxying load balancer in nginx. Basically, I have two web applications that live under subdirectories on Apache servers, /flavors/Chocolate ...
1
vote
1answer
722 views

Apache: getting proxy, rewrite, and SSL to play nice

I'm having loads of trouble trying to integrate proxy, rewrite, and SSL altogether in Apache 2. A brief history, my application runs on port 8080 and before adding SSL, I used proxy to strip the 8080 ...
0
votes
2answers
33 views

Nginx: Redirect both http and https root to subdirectory

I'm attempting to redirect the root domain for both http and https in nginx to the same subdirectory (https): So e.g. http://example.com -> https://example.com/subdirectory https://example.com ...
3
votes
1answer
2k views

HAProxy: Display a “BADREQ” | BADREQ's by the thousands

My HAProxy Configuration. #HA-Proxy version 1.3.22 2009/10/14 Copyright 2000-2009 Willy Tarreau <w@1wt.eu> global maxconn 10000 spread-checks 50 user haproxy group haproxy ...
3
votes
1answer
996 views

Apache reverse proxy access control

I have an Apache reverse proxy that is currently reverse proxying for a few sites. However i am now going to be adding a new site (lets call it newsite.com) that should only be accessible by certain ...
0
votes
1answer
35 views

Wrong REMOTE_ADDR and SERVER_ADDR on Apache when using nginx as reverse proxy

I'm on Mac OS X, running Ubuntu in VirtualBox. Mac OS can be accessed in the local network with IP 192.168.0.100 and Ubuntu is 192.168.0.123 (it's using the "Bridged Adapter" option in VirtualBox ...
0
votes
1answer
721 views

Cross domain javascript form filling, reverse proxy

I need a javascript form filler that can bypass the 'same origin policy' most modern browsers implement. I made a script that opens the desired website/form in a new browser. With the handler, ...
0
votes
0answers
20 views

Web Servers in the DMZ with a Strong Reverse Proxy? [on hold]

I'm not a network engineer, but rather an application architect. My question is about modern use of the DMZ. I've recently worked in 2 types of environments: Those who put only a very strong ...
0
votes
1answer
30 views

Get the correct SERVER_ADDR on Apache when using nginx as reverse proxy

(see edit below) I have nginx forwarding requests to Apache 2.4 and I'm getting 127.0.0.1 as the value of SERVER_ADDR. The correct IP is available only on HTTP_X_SERVER_ADDRESS. I have installed the ...
0
votes
0answers
32 views

Reroute outgoing port through other server

I want to run a xmpp-server on another IP than the A-record of the domain points to. +--------+ +--------+ +--------------+ | xmpp | -----> | web | -----> | internet | | ...
1
vote
1answer
1k views

Nginx reverse proxy to external URL which have redirects in place

Afternoon gentlemen, My current setup is one single site, lets call that http://production.com, that's being served by Nginx on port 80 as a static cache and Apache in the background on port 8080 ...
0
votes
0answers
12 views

Use url path to make proxy condition in Apache

Having only one DNS, www.example.com, how can I distinguish the path to make conditions? For example, inside a VirtualHost what I want to do is: ServerAdmin admin@example.com ServerName ...
0
votes
1answer
867 views

How do I get basic ProxyPass to work on Apache 2.2.17?

I'm trying to get around the ERR_UNSAFE_PORT restriction in Chrome by making Apache reverse proxy other HTTP servers on the machine. I load mod_proxy with sudo e2enmod proxy I add ProxyPass /znc/ ...
1
vote
0answers
302 views

ARR Reverse Proxy and multiple sites as subdirectories with IIS 7.5

I have multiple websites (combination of ASP.NET Webforms and MVC3) that we are trying to consolidate under a single domain with each site under a directory on this main domain. So I want to take the ...
3
votes
1answer
919 views

Nginx Reverse Proxy Node.js and Wordpress + Static Files Issue

I have had quite a time trying to get nginx to serve static assets from my wordpress blog. Have a look at the config and let me know if you can help. ( https://gist.github.com/1130332 - to see the ...
1
vote
1answer
36 views

NGINX: How to proxy http(s) traffic to one server and ws(s) traffic to another?

I'm new to nginx and how it handles locatoins, and was hoping to get help for a problem I'm having: On the same server I have an Apache web server and a websocket server. Apache works on port 8080 ...
0
votes
2answers
49 views

Reverse proxy on ALL ports, not just http?

Hello I recently asked a question about running multiple websites on different servers on the same network here multiple servers running the same thing, how? I have researched about setting up a ...
0
votes
1answer
28 views

AWS: How to create a reverse proxy based on URLs?

I am trying to configure a Reverse Proxy in my AWS account: The Reverse proxy should forward request to internal servers based on their URL structure, e.g.: example.com/question/* -> ...
0
votes
0answers
8 views

Accessing a Win8.1 drive via Nginx WebDav

I have a Win8.1 HDD, which I access from the internet through WebDAV via a Nginx reverse-proxy (running on a ArchLinux virtual machine). Now that does not work very well, with all kinds of permission ...
0
votes
0answers
40 views

Nginx not forwarding some requests

I have a set-up where Nginx is set up as a reverse proxy forwarding requests with some pre-defined strings in URL to a checkout server. Other requests are sent to a load balancer which further ...
0
votes
1answer
17 views

Hide a website behind another server in a different location mirror url structure

I was wondering how does one go about putting another server in front of a website. For example we have a server running in the usa 1.2.3.4, and then we want a server from uk 5.6.7.8 to grab that ...
2
votes
1answer
157 views

Varnish as Reverse Proxy Server for Rubygems

I want to setup a cache server for Rubygems, as I'm currently based in Vietnam and the international internet connections are pretty slow. I have been trying to get this done via Varnish, but after ...
2
votes
1answer
787 views

Correct configuration of a reverse Proxy with IIS 6.0 and IIRF for Hudson

I have an Hudson build working on IIS 6.0 with reverse proxy (IIRF). In general it works but 2 errors are displayed in Hudson in the main configuration page called "Manage Hudson" (only if I connect ...
3
votes
1answer
1k views

How do I get Nginx to pass authentication on to IIS as a reverse proxy?

I have the following setup in my Nginx (1.2.6 on Windows 7) conf file: location ~ ^/FOO/(.*)$ { proxy_pass http://server_two:8888/FOO/$1; } On server_two I have IIS7 running a WCF service ...
6
votes
3answers
3k views

Tools for introspecting Varnish

Has anyone developed, or does anyone know of, any third-party tools (or non-obvious uses of the stock tools) to help a poor systems administrator determine what's going on with requests that are ...
0
votes
1answer
12 views

Do not proxy a request if location or directory match

Let's say that I want to proxy requests to proxytest.xxx.com through http://somedomain.com/ except http://proxytest.xxx.com/local/ and all files under /var/www/proxytest/somedir (2 distinct rules - ...
0
votes
2answers
1k views

Deploying play! 2.0 application on an apache server with a reverse proxy

I'm trying to deploy my play! 2.0 application on an Ubuntu 11.10 server and I have been running into error after error and hope someone can help me here. I am try to deploy my Play! application using ...
0
votes
0answers
28 views

nginx reverse proxy to apache WebDAV server returns 0-byte files after uploading

Setup: client <-> nginx(:443 SSL) <-> apache(:80 WebDAV) Client uploads file to webdav server. Upload succeeds but file appears to be 0 bytes in size. When SSHing in to apache server the file ...
7
votes
6answers
5k views

Is there a name based virtual host SSH reverse proxy?

I've grown quite fond of HTTP reverse proxies in our development environment and found the DNS based virtual host reverse proxy quite useful. Having only one port (and the standard one) open on the ...
0
votes
1answer
794 views

Nginx subdomain proxypass

I want to redirect non-ssl traffic to ssl for all subdomains. I want to keep the subdomain the same. I want to specify a different proxy_pass for staging.foo.com. I only have 3 things going right now ...
2
votes
2answers
164 views

Location Directive overrides mod_wsgi script alias mount

So I'm stymied. I have a webapp that uses Django and I'm using mod_wsgi to integrate it with apache. However, another person has a directive on the same machine that proxies to another server. The ...
1
vote
1answer
75 views

Proxy over redis, HAProxy or twemproxy?

The best way to hide switching of master/slave redis servers, is to use a proxy over master server. Among proxy candidates, there is two more important (and used) choices: twemproxy and ...
0
votes
1answer
30 views

TMG reverse proxy and basic config

I recently set up TMG2010 and I believe I've done something wrong with my configuration. I do not want to run anything extra apart from a web publishing/reverse proxy setup. My internet goes to an ...
1
vote
3answers
2k views

Ubuntu Pound Reverse Proxy Load Balancing Based off active server load?

I have Pound installed on a loadbalancer. It seems to work okay, except that it randomly assigns the backend server to forward the request to. I've put 1 backend machine under so much load that it ...
2
votes
1answer
1k views

How to improve Varnish performance?

We're experiencing a strange problem with our current Varnish configuration. 4x Web Servers (IIS 6.5 on Windows 2003 Server, each installed on a Intel(R) Xeon(R) CPU E5450 @ 3.00GHz Quad Core, 4GB ...
0
votes
2answers
865 views

Apache reverse proxy with VirtualHost not serving a page

I have an Apache reverse proxy set to move requests to a Tomcat Applet. The config is similar to: <VirtualHost 100.100.100.100:80> ProxyPass /AppName/App http://1.1.1.1/AppName/App ...
0
votes
2answers
72 views

How do you force an Apache Load balancer to rewrite http 302 redirects to https?

I've got a website that I want to always be served in https. The site is load balanced using Apache. The Apache load balancer is configured basically like so: <Proxy balancer://mycluster> ...
3
votes
2answers
2k views

Should Nginx be at the front of HAProxy or opposite?

I have little experience in web site infrastructural architecture design. I know it might be situation specific. The web site is supposed to: 1) Need HTTPS support for some page (e.g. login page) ...
1
vote
2answers
374 views

nginx as ssl reverse proxy for wildfly

I am trying to setup nginx to be reverse proxy for wildfly 8.0.0.Final. Part of my configuration file for HTTPS redirect: location /console { include conf.d/proxy.conf; proxy_pass ...
0
votes
1answer
23 views

Nginx to split web traffic to a blog hosted on my domain

At the moment, I am using an Nginx frontend to cache static content for my DotNetNuke based website hosted at the hypotetical address www.mydomain.com, along with some other tasks. In this era of ...
1
vote
1answer
1k views

Use nginx reverse proxy for redirection

I have a.b domain (for example) and want to serve some github pages (username.github.io/project) in a.b/c. It means that I also want to keep my browser url to a.b/c and showing contents of ...
0
votes
1answer
57 views

Apache vhost configuration for port forwarding

I am trying to get the hang of the reverse proxy features in Apache. I am using the Bitnami RubyStack on Windows Server 2012. The following configuration makes Apache not even to start - the error.log ...
0
votes
0answers
19 views

How to properly configure nginx proxy pass when the endpoint is in a root context?

I'm trying to figure out how to configure a reverse proxy in nginx when the endpoint is in a root context: http://frontend.com/mylink proxy forwards to http://10.0.0.2:8000/ Unfortunately I can't ...
1
vote
1answer
2k views

VCL - configuration for Magento and Varnish 3.0.2

I would like to kindly ask if there's someone who can help me configure Varnish for Magento to reach far more hits. My current ratio from varnishstat is: cache_hit=271 cache_miss=926 I'm kindly ...
0
votes
1answer
51 views

Front-ending several web applications on port 80 using a proxy

I have several web applications hosted on an AWS server on different ports, e.g. app1: http://x.x.x.x:8080 app2: http://x.x.x.x:9000 ... I would like to a proxy in front of these apps (apache, ...
0
votes
1answer
1k views

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 ...
1
vote
1answer
110 views

/etc/init.d/nginx reload not working

My earlier problem revealed that reloading the config of my Debian GNU/Linux 6.0 nginx reverse proxy does not work, while restarting, or reloading directly through the binary does work. I have looked ...
0
votes
1answer
136 views

IE 11 not using SPDY with NGINX as reverse proxy to PHP IIS

I have a SPDY enabled NGINX front end server which is acting as a proxy to a couple of IIS backend servers. SPDY works awesome when using either Chrome, Opera Next or Firefox but when I load my sites ...