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

4
votes
4answers
5k views

multiple sub_filter rules for a reverse proxy on nginx?

with no evil plans I am trying to mirror a site under other domain, while changing a few strings on the fly. I set up nginx on a new host to serve as a RP to the master site. This allows to set one ...
0
votes
0answers
10 views

Is it possible to redirect a virtual directory to another server but on the same domain?

I have huge problems with IE P3P policy and reporting services. The problem is, our web application runs on the domain https://www.companyname.com more exactly on in the virtual directory ...
3
votes
3answers
6k views

nginx as reverse proxy with upstream SSL

I'm building a proxy for an internal API to allow clients to connect without having to have the self-signed certificates installed. Clients (built, owned and used only internally) will connect over ...
0
votes
0answers
11 views

Different caches based on cookie for same URL on Varnish

I have a PHP code that returns different output based on a request cookie value. When Varnish is disabled all works great, but with Varnish the cached page is one only and doesn't respect the ...
0
votes
1answer
23 views

NGINX + SSL certificate securing the connection in some browsers only

I've been strugling with this issue and I seem to be running into a dead end here without knowing what to do next... I've taken a task left by another worker who left on vacation. He was trying to ...
0
votes
0answers
19 views

SSH over WAN through reverse proxy to LAN git server

We have an URL to our external IP to our gateway that connects to a CentOS nginx reverse proxy behind which sits our Ubuntu Gitlab server on the company LAN Through this we currently have http access ...
0
votes
0answers
9 views

Can I use a reverse-proxy on a hosting service to redirect connections to multiple IPs while taking care of maintaining sessions?

I have a situation where I am trying to host my own web server because I need some custom software, including telephony, WebRTC, node.js, etc. However, my net connection in the town and country where ...
2
votes
3answers
42 views

Apache httpd reverse proxy delegate SSL to backend

Usually using Apache as reverse proxy is done to do SSL offloading and so Apache handles all the SSL stuff and the backend server just manage plain http. But is it possible to do the opposite ? I'm ...
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 ...
1
vote
3answers
2k views

How to configure apache as a reverse proxy with the remote server specified in a query string parameter

Problem: I'm trying to configure apache as a reverse proxy where the remove server is specified in a query string parameter. Let's say I'm serving a site at mywebapp.com. If you navigated to ...
1
vote
0answers
15 views

Resolve domain upon environment

I am using dnsmasq to resolve specific sites while doing some stress tasks, but since we have at least 3 environments per site I have to constantly update the target IP. These sites are behind a ...
11
votes
1answer
19k views

Configure Nginx as reverse proxy with upstream SSL

I try to configure an Nginx server as a reverse proxy so the https requests it receives from clients are forwarded to the upstream server via https as well. Here's the configuration that I use: http ...
2
votes
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 ...
0
votes
0answers
15 views

nginx reverse proxy hide login query also on 301 redirect or full qualified url

I am spending now over two days on that issue, trying several servers (apache, now nginx), searching the whole web, but had no luck so far. First: sorry for posting my urls with http-s instead of ...
0
votes
1answer
35 views

nginx and apache - multiple virtual hosts on the same IP - correct configuration

I am trying to run nginx as reverse proxy for Apache on the same machine and serve different websites from it. My question is - is it possible to add virtual hosts only to nginx and have it pass the ...
-3
votes
0answers
30 views

Redirect IP to another IP [closed]

My domain redirects to my Teamspeak 3 Server on port 9987, and it works perfectly. But now I will add a second server to block DDoS so I must redirect my domain to server #1 and server #1 must ...
1
vote
0answers
20 views

Setting up revers proxy on IIS 8.5 and Windows 2012 R2 does not work properly in some cases

I have installed Orchard as a CMS on our web server at a different port number. This CMS works fine when I try to access it through localhost. Everything looks normal. However, I'd like to publicize ...
3
votes
2answers
85 views

Wordpress wp-admin redirect loop behind IIS ARR Reverse Proxy

I've got a bit of a unique and interesting setup going on from what I can tell, with an interesting issue. I have a Windows Server 2012 box as my main web server hosting website.com. At ...
0
votes
2answers
667 views

Nginx and CouchDB reverse proxy not working

I am trying to proxy [http://localhost:5984] to [http://localhost/couchdb]. I am running nginx for proxy. I have followed the same method mentioned at ...
0
votes
0answers
30 views

Apache: ap_proxy_connect_backend disabling worker

I have a Azure Linux VM where I have installed 5 Ruby on Rails apps, each one running on a different port 3000, 3001,... 3004. After a while, they stop responding. I tried to fix it adding SetEnv ...
2
votes
3answers
355 views

Non technical explanation for Reverse Proxy

From Wikipedia "In computer networks, a reverse proxy is a type of proxy server that retrieves resources on behalf of a client from one or more servers. These resources are then returned to the client ...
2
votes
2answers
722 views

Some nginx reverse proxy configs stops working once a day

I have an nginx reverse-proxy which proxies requests from an outer amazon ELB to internal ELBs. I have 6 backend instances that handles the requests. The site-enabled configs looks like this, but ...
4
votes
3answers
2k 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" ...
-1
votes
1answer
22 views

Public port 80 targeting private port 3000 on Azure Linux

I have a Ruby on Rails website on Azure Linux (Ubuntu 14.04) that works perfectly from this address: http://mydomain.cloudapp.net:3000 I want to get rid of the port in the address, and redirect it ...
1
vote
1answer
35 views

HTTP compression in Apache reverse proxy?

I have an App server where Apache httpd is installed which serves the requests. We have another Proxy machine which redirects the requests to this App Server httpd using proxy pass. When I apply gzip ...
-2
votes
0answers
27 views

NGINX Injecting PHP into the top of every page [closed]

I was looking to inject PHP into the top of every page, but I am not sure how to do it. What I tried was using NGINX's substitute mod, but that didn't help much either. Any ideas on how to inject ...
0
votes
0answers
7 views

Route SSH traffic based on domain with HAProxy [migrated]

I'm currently building my own little cluster at home and I'm trying to get SSH routing (load balancing) to work with HAProxy. I have figured out how to route HTTP traffic but I'm struggling with SSH. ...
0
votes
0answers
29 views

Windows 2012 with nginx

I'm planning on upgrading my server to windows 2012. One thing I'm trying to wrap my head around is how to get things working together with nginx. Question: I'm planning on making use of both vpn ...
0
votes
1answer
2k views

Apache, Reverse Proxy, Rewrite, HTTPS

I am creating a Reverse Proxy box with apache and i have some questions about that: How can i load some files, say robots.txt, off the reverse proxy box instead of the actual host? Would it be wise ...
1
vote
2answers
1k 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
0answers
61 views

Nginx with owncloud (https redirected) and reverse proxy for node.js issues

I'm pulling my hair out with the sparse support and documentation for Ubuntu server 15.04. although that's to be expected from a non LTS release. I have Nginx serving Owncloud, called ...
0
votes
2answers
5k 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 ...
1
vote
0answers
53 views

Websockets behind Apache and Nginx proxy connection not upgraded

I have a problem. Apache listens on a white ip and proxies all requests /ssd on nginx that proxies requests /city-dashboard to another server with websockets. In apache config: ProxyPass /ssd/ ...
0
votes
0answers
21 views

DNS/nameserver overlay/reverse proxy

We use a 3rd party application to organize our projects. This application provides their own nameserver, the domain itself (say fooapp.com) is ours. Now we'd like to add additional subdomains to ...
0
votes
0answers
19 views

Switching reverse proxy from apache2 to nginx: case remote tomcat server

I am in the process of switching from apache to nginx as reverse proxy as new knowledge has been gained around better resource usage of nginx. Since I have apache experience , it took me some time and ...
0
votes
1answer
51 views

How can i configure reverse-proxy server using nginx on centos 7?

I'm trying to construct reverse proxy server using nginx on centos 7. I installed nginx and also nodejs for local web server. I would like to redirect requests on nginx to local nodejs server ...
5
votes
4answers
1k 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 ...
0
votes
1answer
15 views

Nginx Load Balance / Proxy to Upstream with Path / Rewrite

Basically I have a API farm as 192.168.1.1, 192.168.1.2, 192.168.1.3 However the endpoints have different folder structure (3rd parties which i can't amend!) So basically I want to have a nginx ...
3
votes
1answer
1k views

Nginx as reverse proxy: how to properly configure gateway timeout?

We have configured Nginx as a reverse proxy to an Apache server farm, but I'm running into trouble with the gateway timeouts. Our Goal in human readable form is: "Deliver a request within one second, ...
1
vote
2answers
1k views

nginx with real_ip — log both client remote_addr and proxies address

I have an nginx instance set up behind multiple load balancing proxies, and I am using real_ip to get the clients IP address in remote_addr for processing by my Python application. However in my logs ...
4
votes
3answers
1k 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 ...
1
vote
1answer
1k views

Apache ProxyPass/RewriteRule with p flag: Return no content when response has multi-part content type i.e.images

This is a continuation of a previous question which has been implemented with a little change. Following is the structure I am going to talk about. My goal is to create the Tunnel/Proxy. ...
1
vote
1answer
57 views

Nginx: reverse proxy and http to https redirect

I currently use a reverse proxy to map my.domain.com to a port 5000, but would like to also redirect http traffic to https. I don't want to add SSL cert info, as that's all handled by Cloudflare. ...
-1
votes
0answers
32 views

Apache httpd as a reverse proxy get error 404 on 1st try only

I'm trying to connect to a Java backend with BlazeDS, by using Apache httpd as an SSL reverse proxy. I'm able to load my HTML file, but when I attempt to connect to the backend I always get a 404 ...
1
vote
2answers
830 views

regex to match s3 urls in nginx location directive & proxy to amazon s3

In nginx location directive, how do I match s3 urls. for example, the wrong url is: http://example.com/https://s3.amazonaws.com/mybucket/logo.jpg?1404251306 from Logs, I can see nginx can that it ...
1
vote
0answers
29 views

Nginx reverse proxy variables and resolver

I am trying to set up reverse proxy with a wild card on both ends, eg. test.example.com to test.local, etc. So far I have this and it is working. server { listen 80; server_name ...
0
votes
0answers
47 views

Nginx proxy_pass and absolute paths

I'm trying to run some nodejs app on a server (Ubuntu 14.04), using Nginx and i'm almost done. Here's my server configuration (/etc/nginx/sites-available/default): server { listen 80; ...
2
votes
2answers
2k views

Nginx reverse proxy to another nginx server serving static files

I have an Nginx server hosting a web app which works fine when directly accessed. Its config is below server { listen 8000 default_server; listen [::]:8000 default_server ...
0
votes
2answers
2k views

net err connection timed out

I have Apache/2.2.22 on Ubuntu 12.04. Apache is set as reverse proxy server. So when accessed from a remote system, the page and contents are displayed. But after some time the server seems to ...
0
votes
1answer
2k 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 ...