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
13 views

Howto rewrite URLs with two nginx as reverse proxies to gunicorn/Django

I have a Django application, deployed with gunicorn on port 8000, on a VM with a backend nginx, port 80, on the same VM. The nginx config is: location / { proxy_http_version 1.1; ...
0
votes
0answers
7 views

How do I manage multiple application instance setup/teardown via URL?

We have a heavily developed web application, with a pretty sizable team, and a lot of things going on in many branches at the same time. For our approval process, after we've done our own continuous ...
1
vote
0answers
13 views

Turn on/off proxy pass in nginx if a particular header is set

For testing purposes (in particular I'm developing a performance analyzer for a website that currently runs in production) I need to have some endpoints (es: /performance) that should be processed by ...
1
vote
1answer
31 views

HTTPS reverse proxy using apache

I am using this apache configuration to set up a reverse proxy to a process running on the same machine, on port 8443, <Directory "/var/www/html"> Options +FollowSymLinks RewriteEngine ...
0
votes
1answer
18 views

Use hostname for set_real_ip_from in Nginx

How to use hostname and not directly IP for set_real_ip_from in Nginx? I have a reverse proxy which can change IP as it is restated (it is a Docker container), but I do not want to trust other IPs ...
1
vote
0answers
39 views

upstream timed out (110: Connection timed out) while connecting to upstream

I have my backend in France and one of my frontend servers is in Japan. This issue doesn't happen with any other of my frontends, only this Japan server, which already has about 2s latency from most ...
1
vote
1answer
29 views

Is basic authentication secure when it goes though my reverse proxy on SSL?

Hoping someone can let me know if im on the right track. I use IIS on my file server within my network. I have an apache2 server which takes all HTTP and HTTPS requests and by way of reverse proxy ...
0
votes
0answers
13 views

Handling spaces in SCRIPT_FILENAME with mod_rewrite

I'm having trouble using a reverse proxy when my URL has a space in the script name. For example: http://test.com/exam/good%20job.html?success=1 Gets rewritten and sent to: ...
0
votes
1answer
21 views

Nginx reverse proxy - requests still return port 80

I'm trying to use nginx as a proxy server for two weblogic servers. The ports on the weblogic are 23823 and 23824 and i want them both to be accessible from port 8888 and distinguished by context ...
1
vote
1answer
29 views

Lots of users, reverse proxys and problems with both

I have a somewhat unique situation that is making managing my vpns a bit of a pain, so I am trying to make it easier on me and my users, hope somenone can give me some ideas and/or alternatives. The ...
0
votes
1answer
45 views

nginx reverse proxy with basic_auth - 404 Not found

I have an nginx server block to proxy_pass content from three servers: gitlab, Rshiny and static content from another nginx server block. All this works fine, until I try to add password protection to ...
1
vote
1answer
31 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
votes
1answer
50 views

Nginx Reverse Proxy Segfault on High Traffic

Recently my load balancer with Nginx rev proxy showing the following error messages on /var/log/dmesg: [6278902.558300] nginx[15683]: segfault at ffffffffffffffff ip 0000000000457b99 sp ...
0
votes
1answer
50 views

Fixing WebSocket 404 Error With Dynamic WebSocket URL's Under Reverse Proxy

I am running Ubuntu, Apache, mod_proxy_wstunnel(Enabled), Shiny-Server, and R. I have setup shiny-server to listen locally, and Apache to Proxy requests for the shiny-server. I have also setup a basic ...
0
votes
1answer
26 views

Reverse Proxy Linux Containers

I am trying to set up a reverse proxy on my ubuntu 14.04 host so that I can run multiple websites, each in their own LXC container (one day docker but one step at a time). In this example the ...
2
votes
2answers
43 views

Nginx Reverse Proxy Will Not Load HTTPS Sites

Today has been the first time I've used Nginx. I got it set up as a dedicated reverse proxy by following a few guides. This is what I'm trying to recreate - ...
0
votes
2answers
39 views

nginx as reverse proxy on front of Apache - protection and security

I'm just concerned whether to install Nginx WS alone or nginx as reverse proxy on front of Apache based on security and protection. If I had to choose nginx as reverse proxy on front of Apache, would ...
0
votes
0answers
15 views

nginx $upstream_cookie_… variables

nginx 1.7.1 introduced Feature: the "$upstream_cookie_..." variables. see http://nginx.org/en/CHANGES What does it do and how do you use it? Can that be used for Session Affinity when proxying to ...
0
votes
1answer
58 views

Apache 2.4 Proxy for External, Redirect for Internal

I am attempting to setup a reverse proxy to allow only a few select ip ranges to proxy to an internal host, while I would like anyone else not within the ip ranges to redirect to our internal named ...
0
votes
1answer
43 views

nginx reverse proxy all requests to two upstream servers?

I need to adjust a nginx reverse proxy which used to front a single server to send all requests it receives to two different upstream servers. I was thinking I could do it with the configuration ...
1
vote
0answers
43 views

HTTP CONNECT request body is reduced to / when proxying through Apache

I am using Apache 2.2.15 as a reverse-proxy running on Scientific Linux 6. It is being used to connect an application to a remote server, where the application being connected to requires that the ...
0
votes
1answer
21 views

ngnix proxy https request to subfolders

We have several external facing web applications behind nginx like so: https://app1.mycompany.com --> server1:8080/app1 https://app2.mycompany.com --> server2:8080/app2 ...
0
votes
0answers
19 views

reverse proxy nginx websockets with sub_filter

I have simple reverse nginx proxy location /websocket/ { proxy_pass ​http://backend_host; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection ...
0
votes
0answers
16 views

How to redirect domain links in Apache reverse proxy setup? [duplicate]

I have sub.example.com that I want to load from example.com/sub. I've used a reverse proxy setup using mod_proxy and mod_proxy_html and it works fine. The problem is that I need to redirect all the ...
-1
votes
0answers
30 views

Setting up reverse proxy via an HTTP proxy?

I have a software that has to call an external web API from inside our firewall. Currently the only way to do this is through the HTTP proxy feature of the firewall; however, the software itself does ...
0
votes
0answers
14 views

ProxyPassReverse from unique path and HTTP_HOST

This is probably super simple and something I overlooked (or totally misunderstand). Trying to redirect all incoming traffic for a certain path to one of my other servers (I put the wrong environment ...
1
vote
2answers
98 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
1answer
104 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
56 views

How to configure nginx so it works with Express?

I'm trying to configure nginx so it proxy_pass requests to my node apps. Question on StackOverflow got many upvotes: http://stackoverflow.com/questions/5009324/node-js-nginx-and-now and I'm using ...
0
votes
1answer
19 views

rails app (via apache proxy) images from uploads directory missing

I am running Gitlab reverse-proxied through an Apache 2.2 server for my work group. Recently, we wanted to upload some group logos to use as project Avatars. The uploads all completed successfully ...
0
votes
1answer
297 views

Unable to configure Nginx as a reverse proxy for elasticsearch on another server

I'm trying to use Kibana on a server A to access elasticsearch on a server B. elasticsearch is protected with a basic auth authentication on server B. Kibana is also protected with basic ...
0
votes
0answers
33 views

Reverse web proxy with time constraints

I have a web application which produces several unique URLs of the type http://service.company.com/service.html?type=aaaa&key=jfiZm6u6cW where the last part is a randomly generated key. Each such ...
0
votes
1answer
49 views

nginx proxy folder to url

I have some sites I want to redirect with nginx: domain.com:1180 -> test.domain.com (static site) domain.com:1280 -> test.domain.com/promo (meteor.js website) On domain.com I have an nginx ...
0
votes
0answers
83 views

Reverse proxy 502 bad gateway

I have setup a subdomain to proxy my plesk panel, but when saving pages I am getting 502 Bad Gateway error instead of a completion message. I am running CentOS 6. Here is my vhost.conf configuration ...
2
votes
1answer
118 views

How to invalidate nginx reverse proxy cache in front of other nginx servers?

I'm running a Proxmox server on a single IP address, that will dispatch HTTP requests to containers depending on the requested host. I am using nginx on the Proxmox side to listen to HTTP requests ...
3
votes
0answers
66 views

Nginx + unicorn + spdy + performance testing

I have a ruby on rails website that is hosted on unicorn webserver behind a nginx reverse proxy. I want to evaluate if using spdy will enhance my performance under this setup. Specifically, I need ...
0
votes
0answers
67 views

Nginx SSL Proxy for FIsheye

I've scoured the internet, and stumbled across Fisheye + Nginx Reverse Proxy many times, but it doesn't seem to be answering my question. I have Atlassian's FIsheye up and running. Right now, Fisheye ...
1
vote
2answers
99 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 ...
2
votes
2answers
94 views

nginx add header conditional on an upstream_http_ variable

I have a reverse proxy on nginx which proxies quite a few sites. I have recently enabled HTTP Strict Transport Security for all SSL-enabled websites. I now have one site that doesn't want to have this ...
1
vote
1answer
201 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 ...
0
votes
0answers
30 views

nginx upstream host setting with memcache

I want to setup a nginx setup with memcache enabled for pages as pointed out in page https://www.igvita.com/2008/02/11/nginx-and-memcached-a-400-boost/. First I tried nginx web server (with php-fpm ...
1
vote
0answers
36 views

IIS Reverse Proxy on Subdirectory Breaks Root Directory

I am running a HTML, single-page application on IIS 7.5. I am trying to set up a reverse proxy in a subdirectory so that i can make same-domain requests to my API. So i want my site to behave like ...
1
vote
0answers
98 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
0answers
53 views

Apache with reverse proxy limited to an URL pattern + auth

I'v currently an Apache reverse proxy setup with authentication working (see hereunder). However, I would like to do reverse proxying for only some particular URL pattern, otherwise do nothing (or ...
0
votes
0answers
95 views

Apache - Reverse proxy - Redirect without http or https

I have header like this: Connection close Content-Length 0 Content-Type text/html; charset=utf-8 Date Tue, 20 May 2014 09:46:35 GMT Location //example.com/file.php Server Apache/2.2.15 ...
0
votes
1answer
72 views

What is wrong with my Nginx reverse proxy configuration?

I'm trying to set up an nginx server to serve a node.js application at myurl.com, while at the same time serve some php-content from myurl.com/phpapp/ I had the php application working with proxy ...
0
votes
0answers
63 views

Reverse Proxy and requested URL aware tomcat

I've configured an infrastructre setup where an apache reverse proxy terminates SSL requests. Then the requests are proxied to another frontend apache webserver and then again this one is connected ...
0
votes
2answers
96 views

D-I-Y VPS Hosting for multiple domains (3) on a single static IP [closed]

and thanks for your input. What I want to do: I want to host some applications Web and email, for example, for myself and two clients on one static IP Address, primarily to learn, and possibly to ...
1
vote
0answers
255 views

Migrating Apache reverse proxy to Squid3 using pfSense

I currently have a pfSense firewall that redirects port 80 and 443 to an internal Apache that acts as a reverse proxy for several subdomains on our company. Since pfSense provides a reverse proxy ...
-1
votes
1answer
23 views

IIS and Apache same domain setup

I was tasked with setting up IIS running website in .asp and apache running forum in .php on the same Windows machine. The deal is that urls should look like: http://www.domain.name/ - IIS and ...