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
0answers
5 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 ...
1
vote
0answers
11 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
18k 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
13 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
29 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
29 views

Redirect IP to another IP [on hold]

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
11 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
72 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
660 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
20 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
712 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
19 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
28 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
24 views

NGINX Injecting PHP into the top of every page

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
21 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
39 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
42 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
16 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
18 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
36 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
14 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
46 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
28 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
823 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
26 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
40 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 ...
0
votes
1answer
37 views

How can I secure an insecure Meteor by using Nginx?

I have an insecure Meteor running on AWS. For those not familiar with Meteor, that means I am using the "insecure" package, which trades security for rapid prototyping. I only need our development ...
1
vote
1answer
285 views

Rewrite Location response header in lighttpd

I have an instance of lighttpd 1.4.35 listening for https traffic and reverse-proxying it to a back-end server. I.e., .----------. .----------. client ---https--> | ...
1
vote
0answers
59 views

Exim SMTP reverse proxy

This is my first post on Serverfault, so if I make some mistakes, please let me know. The issue that I'm dealing with right now is a DDoS attack on my Exim mailserver (cPanel) on port 25. From what I ...
3
votes
2answers
3k views

nginx leads to 504 error, but my app is still running

So, we're using Node.js to power CompassionPit.com, and it's all served up by nginx. nginx is throwing a 504 Gateway Time-out The interesting thing, however, is that if I navigate to ...
1
vote
1answer
301 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 ...
0
votes
1answer
1k 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/ ...
3
votes
1answer
3k 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 ...
0
votes
1answer
22 views

Apache2 reverse proxy not working

I have a non-apache server running on http://10.0.0.1:9000. My Apache server is running on 127.0.0.1:8000. I want Apache to reverse proxy all requests to the url /app/ and pass it on to ...
1
vote
2answers
43 views

Modify HTML pages returned by nginx reverse proxy

I have a reverse proxy setup for access to a third party application located inside a intranet from the internet. Let's say this application is on the URL: https://internalserver:8080/ (reachable ...