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
2answers
15 views

how to make NGINX read static files directory when proxy passing

Here is my nginx configuration: server { listen 80; server_name example.com; location /assets { root /var/www/frappe/sites/assets; try_files ...
3
votes
1answer
19 views

Configuring SSL on Nginx Reverse Proxy for GitLab

I am having a small issue in my personal gitlab setup. I wanted to redirect all traffic that comes from http://gitlab.example.com to https://gitlab.example.com. SSL is indeed working on ...
0
votes
0answers
17 views

Apache reverse proxy for external services

I'm not even sure this will make sense, so please bear with me. Currently, ports 80 and 443 are used for my routers web interface. I have an instance of Ubuntu 14.04 on my home VM that has LAMP ...
1
vote
0answers
9 views

nginx proxy_buffering and send response to client immediately

To break the question down to one sentence: Is it Possible to turn on proxy_buffering in nginx, but sending the response of the backend server immediately to the client when the client is fast enough ...
2
votes
0answers
15 views

nginx websocket reverse proxy keeps return 200 instead of 101

I'm currently trying to have a hack.chat on my personnal server working. For those who doesn't know this brilliant thing, check this https://github.com/AndrewBelt/hack.chat Long story short, it ...
0
votes
1answer
7 views

Reverse proxy settings ignored

After switching from Windows 8 Apache 2.2 or 2.4 (don't remember), 32bit to Apache 2.4.9, 64 bit, Windows 8.1 my proxy settings are ignored. All requests end up going to the default C:/wamp/www. The ...
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
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 ...
4
votes
2answers
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
vote
0answers
25 views

apache reverse proxy sometimes not working

I am using a digital ocean droplet (Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-52-generic x86_64)) to host both jira and confluence. They are started on the same ip but different ports. I wanted to access ...
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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
24 views

Content of reverse proxy website not showing

I have have server A that works fine serving the websites. Then I have a few (two, B & C) servers behind there that work fine if I access them internally, so basic web services are fine. My goal ...
4
votes
3answers
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 ...
2
votes
1answer
19 views

403, only via gateway (page acessible directly from origin server locallly and externally)

I'm trying to setup a secondary Apache Server (will eventually become primary only). The working setup was windows XP running Apache 2.2.6 (via Wampserver2) with 8 sites (virtual hosts), all working ...
0
votes
0answers
16 views

How to setup NGINX Reverse Proxy for Mulitple Domain with diffirent Hosting

Recently, I've started working on my NGINX reverse proxy project. There following websites which is hosted on different website Hosting with different IP / DNS. Example.com foo.net Takesrs.com ...
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 ...
-1
votes
0answers
20 views

How to configure nginx reverse proxy for ftp [duplicate]

I am trying to configure nginx reverse proxy to point to an FTP server. I've tried this: server { listen 21; location / { proxy_pass http://66.55.147.67:21/; } } with and ...
0
votes
1answer
35 views

Nginx randomly refuses SSL connections

I am running the website https://telerandom.com (NodeJS server, port 9576) behind an Nginx reverse-proxy. It usually works, but on occasion, it begins to refuse all SSL connections from certain users ...
0
votes
0answers
26 views

Proxying request from nginx docker container to tomcat docker container (all inside Vagrant VM)

Running a Vagrant (virtualbox) VM with two docker containers inside, nginx and tomcat. Want to host static files in nginx container and proxy web requests to the tomcat container. I've read up on ...
0
votes
1answer
23 views

Nginx proxy_pass failover to an url instead of a server

I have an endpoint requesting my database through Symfony : api.domain.com:80/item/123 When this endpoint is requested, Ngninx will proxy pass it to a nodejs server able to get the item from ...
0
votes
0answers
14 views

nginx index directive wrong file

I'm testing reverse proxy with nginx and I need http://localhost to go to http://localhost:8081/index-dev.html instead of index.html. Here is my config: server { listen 80; index ...
0
votes
0answers
39 views

Nginx proxy server cache images from apache server

I have 2 servers one apache and one nginx. I setup nginx as proxy location / { proxy_pass http://apachesample.com:8080/; include /etc/nginx/conf.d/proxy.conf; ...
-1
votes
0answers
26 views

Why do I need the nginx uwsgi module? [duplicate]

I have a nginx server that has two django apps running behind it. Django's manage.py happily starts a webserver on some port over localhost. Why should I not just have nginx reverse proxy the ...
0
votes
1answer
42 views

Apache not proxying HTTPS requests to tomcat

Centos 7, Apache 2.4, TomCat 7.0.52, Java 1.7 I am trying to configure Apache to proxy a tomcat server (running Jira / Confluence) using HTTPS: (HTTPS:443) -> ApacheServer -> (HTTP:8090 or ...
0
votes
1answer
908 views

Nginx with mod_security support

I have compiled nginx with mod_security support. In error log I can see the support for mod_security 2012/08/27 11:13:11 [info] 602096#0: ModSecurity for nginx/2.7.0-rc2 ...
1
vote
1answer
913 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
0answers
24 views

IIS reverse proxy SFTP traffic [closed]

We have set up an IIS reverse proxy that is functioning as needed for HTTP/S traffic. We also need it to forward port 22 traffic (SSH/SFTP). Is this possible on an IIS reverse proxy on Server 2012 R2 ...
0
votes
1answer
24 views

Set up public facing reverse proxy for a specific server

At my work place, we have run out of available IP addresses to assign to our public facing UAT server. Because of this, we route all traffic to port 80 on our UAT server from port 9999 on another ...
0
votes
1answer
46 views

Nginx multi website multi public ip

I have deployed platform with archetecture where I have nginx lb server hash, behind is app server that has 4 apps. nginx lb server has configurations such as: upstream example1.com { ip_hash; ...
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
2answers
4k 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
0answers
77 views

Nginx Reverse Proxy 502 Bad Gateway

I am trying to make a reverse proxy server with Nginx, i have a Proxy conf file and a Proxy-SSL. unfortunate I have some problems with the Proxy-SSL (HTTPS) I am getting a bad gateway 502 error when ...
0
votes
0answers
12 views

TLD pointing to subdomain of TLD connected to Heroku

I'm trying to point the root of of domain2.com to a subdomain of domain1.com (which is pointing to a Heroku instance). Do I need to run some kind of reverse proxy for this to work? If so, what kind of ...
4
votes
0answers
174 views

HAProxy switch to backup on 500 errors and/or server down

I'm setting up an HAProxy in front of only 2 backend servers, with a particular configuration: any request should go to server A; but, if server A returns a 5xx error code, all request should go to a ...
0
votes
0answers
38 views

Recommended config for pagespeed reverse proxy server with apache

I'd like to setup server to use pagespeed reverse proxy server with apache for several sites which cannot run pagespeed on their origin. It seems I should be able to create a VirtualHost for each site ...
0
votes
1answer
34 views

Use Nginx as Reverse Proxy for multiple servers

I am trying to configure nginx as a reverse proxy for multiple servers on my LAN. They should go out on my WAN with different subdomains. My configuration looks like this: ...
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. ...
0
votes
0answers
27 views

Captive portal OAuth

Im building a large network of AP with captive portal deployments, each AP has its own internet connection, managed by routers I don't have access to. I can manage the APs through a cloud ...
0
votes
1answer
17 views

Nginx proxy_pass doing an unexpected redirect

I have two servers http://example.net - my "main" server http://example.com - a server dedicated to my blog both servers run Nginx on Ubuntu 14.04. I have cofigured the example.net server thus ...
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 ...
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 ...
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, ...
0
votes
1answer
48 views

How to set up a simple docker-contained reverse-proxying (nginx) server?

Technically i shouldn't be asking this question as i was already able to successfully accomplish it, however i did not record any of my notes/findings on it and i was forced to delete the centos VM it ...
5
votes
1answer
2k views

nginx failover without load balancing

I'm having trouble with configuring nginx. I'm using nignx for reverse porxy. I just want to send my all requests to my first server. But if the first server is down, I want to send requests to ...
0
votes
0answers
12 views

ProxyPassReverse to change URL in response that has been redirected?

I've been trying to implement an Apache reverse proxy on one domain that proxies requests to a "controller" server on another domain, which, based on a single ID number passed in the requested URL, ...
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/ ...
0
votes
0answers
25 views

Using nginx as a reverse proxy in front of an http proxy

When I put the http proxy behind nginx using proxy_pass directive, the http proxy receives a request like GET /some/path while it expects to receive a request like GET http://some.domain/some/path. ...
1
vote
1answer
976 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 ...
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 ...