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
0answers
48 views

apache rewrite through proxy remote

We are trying to write a reverse proxy rule to an external site. ProxyRequests On ProxyRemote https://abc.company.com http://proxy.company.com:80 ProxyPass /_vti_bin/AccountList.asmx/ ...
1
vote
1answer
5k views

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 ...
5
votes
2answers
7k views

How to handle relative urls correctly with a reverse proxy

I have a reverse proxy setup as follows in Apache: Server A with address www.example.com/folder is the reverse proxy server. It maps to: Server B with address test.madeupurl.com This kind of ...
1
vote
2answers
400 views

Websockets and Firewall

I asked this question on Stack Overflow first, but then I thought Server Fault could be a better place to post it. I have two WebSocket servers both running on different ports than 80 and 443. ...
0
votes
1answer
123 views

how to make squid revere proxy with authentication send remote_user header

OS CentOS 6.4 - squid 3.1 I currently have squid running as a reverse proxy, performing NTML authentication succesfully. This is working as expected. If I enter valid AD username and password, it ...
0
votes
1answer
52 views

Two domains one ssl

We have a production rails app being hosted on heroku at http://abc123.com. We also have a wordpress blog hosted on bluehost at http://abc123blog.com. We use Rack::ReverseProxy to make it look as if ...
1
vote
1answer
572 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 ...
4
votes
1answer
1k 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
350 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 ...
0
votes
1answer
952 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
760 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
1answer
211 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
95 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 | | ...
0
votes
0answers
32 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 ...
1
vote
0answers
336 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 ...
1
vote
1answer
464 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
152 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 ...
1
vote
1answer
81 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
82 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
61 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
109 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 ...
0
votes
1answer
40 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 - ...
9
votes
6answers
6k 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 ...
2
votes
2answers
189 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
516 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
240 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 ...
0
votes
2answers
475 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> ...
4
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
867 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
73 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 ...
0
votes
1answer
1k 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
1answer
77 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, ...
1
vote
1answer
580 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
346 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 ...
0
votes
1answer
141 views

Nginx reverse proxy for Proxmox PVE Datacenter console

I am running Proxmox VE Datacenter console on the web behind an SSL protect NGINX proxy. Everything works great as long as I keep the Proxmox VE Datacenter console of the root (i.e.: ...
1
vote
1answer
509 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; ... ...
5
votes
4answers
3k views

Can nginx be an mail proxy for a backend server that does not accept cleartext logins?

Can Nginx be an mail proxy for a backend server that does not accept cleartext logins? Preferably I'd like to know what directive to include so that it will invoke STARTTLS/STLS, but communication ...
0
votes
1answer
2k views

nginx proxy_set_header x-forwarded-proto seemingly not working

Since i am a beginner in nginx proxying i have a question. The gist of it: Where does an nginx proxy set defaults for php's $_SERVER["HTTP_X_FORWARDED_HOST"], $_SERVER["HTTP_X_FORWARDED_SERVER"] and ...
4
votes
1answer
1k views

Can a Reverse Proxy use SNI with SSL pass through?

I need to serve several applications over https using one external ip address. The ssl certificates should not be managed on the reverse proxy. They are installed on the application servers. Can a ...
1
vote
0answers
117 views

nginx doesn't check server_name and port on websocket proxying

I have three server blocks (virtual hosts) for http and one for websocket in the nginx config (nginx 1.6.0, ubuntu 14.04). server { listen 80; listen [::]:80; server_name ...
1
vote
0answers
154 views

Getting a chunked request through nginx

First some background: We have an embedded device that uploads a lot of small events to a web server. Chunked encoding is used to post this information. Every event is send as a seperate chunk, so the ...
1
vote
2answers
762 views

Session lost in tomcat uing nginx as proxy

I have several applications in a tomcar server. I am using nginx for proxy so i can achieve acceding the application from a subdomain tomat:8080/app1 > app1.mydomain.com tomat:8080/app2 > ...
0
votes
0answers
63 views

Reverse proxy lifecycle explaination needed for ajax SOP ( same origin policy ) workaround

I need a little explanation of how reverse proxy handles the requests in my case I guess i know the answer but want to be sure There are two hosts, one of them acts as an API host to reduce the ...
0
votes
0answers
155 views

View a pdf with quick webview though apache proxy

I have a site(IIS) that is accessed via a proxy in apache(on an IBM i). This site serves PDFs which has quick web view and if I access a pdf directly from the IIS server the PDFs starts to display ...
0
votes
1answer
92 views

reverse proxying with NGINX to two back-end servers

I am trying to learn how to configure the Nginx proxy. All requests from external (www.external.com) should go to internal server 10.10.10.16:2080, except for www.external.com/nagios requests, which ...
-1
votes
2answers
50 views

Multiple non-http services, 1 static IP [closed]

I have an issue where we have several non-http(s) services which we would like to access from across the WAN. SSH is a primary protocol we'd be using, FTP as well. Here's how things are laid out. We ...
5
votes
1answer
3k views

Configuring Apache 2.4 mod_proxy_wstunnel for Socket.IO 1.0

I'm trying to configure Apache 2.4 for proxying the websocket connection for socket.io to a node.js websocket server, using mod_proxy_wstunnel. We had this working fine with socket.io 0.9, but with ...
0
votes
1answer
70 views

Reverse Proxy to filter out js files from multiple hosts in nginx

I have a website http://someplace.acme.com that I want my users to access via http://myplace.mycorp.com - pretty standard reverse proxy setup. The special requirement: any js file - either identified ...
3
votes
0answers
390 views

ARR reverse proxy to Azure Website inside Azure Cloud Service

I am trying to rewrite www.contoso.com/blog/ to a wordpress Azure Website (contosoblog.azurewebsites.net). I have completely configured all inbound and outbound rules, and have tested them locally on ...
6
votes
3answers
5k views

Make nginx to pass hostname of the upstream when reverseproxying

I run several docker containers with hostnames: web1.local web2.local web3.local Routing to these done based on hostname by nginx. I have a proxy in front of this setup (on different machine ...