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

Proxy to SSL site (on another server) from a non SSL site

I have a *:80 virtual host in Apache 2.2.15 which is just a bunch of URL rewrites like: ServerAlias foo.bar biz.baz tit.tat RewriteRule / http://somesite.com (R=301,L) ServerAlias ...
0
votes
1answer
10 views

Lighttpd splitting request URI and dropping query parameter

I'm running lighttpd 1.4.33, which is reverse proxied to from an Apache server that is open to the Internet. When accessing a script from the local address of the lighttpd server, GET parameters are ...
0
votes
0answers
13 views

Nginx proxy_pass produces wrong links

I have a web-app (let say COOL_APP) running at http://localhost:7000/ and I would like to "mount" it to an nginx proxy server running at https://example.com. Both, the nginx server and COOL_APP are on ...
1
vote
0answers
9 views

Custom error pages when using IIS as a reverse proxy

I've configured IIS to act as a reverse proxy for a development server (dartlang's pub serve if you're curious). I'm doing this because the development server doesn't support custom error pages and I ...
0
votes
1answer
11 views

apache2 reverse proxy 404 error

I have set up an apache2 server. I am trying to enable a site to reverse proxy in which I will redirect /registry to :5000. I have apache2 up and running and am able to reach the default page () but ...
0
votes
0answers
23 views

nginx or apache for reverse proxy if we want to development on top of the reverse proxy [closed]

Right now, we are thinking about building an access gateway which is generally a reverse proxy/firewall where we could apply the policy for traffic such as blocking certain user accessing the site ...
2
votes
1answer
30 views

disable auth digest for reverse proxy

I have digest auth set up on one of my domains but I would like to disable it for a reverse proxy. <VirtualHost *:80> ServerName example.org DocumentRoot /var/www/ <Directory ...
0
votes
0answers
34 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
36 views

Yet another 502 error with NginX

I'm trying to put a server@home in place with some basic services. All services run into a dedicated VM. Each VM is hosted on vSphere 5.5. So far I have : Debian wheezy with nginx used as a reverse ...
0
votes
1answer
14 views

Apache 2.4 hanging when 404 is returned from backend

I have a backend server and apache2 as frontend, it's configured to show a custom 404 page but when backend returns 404 apache starts hanging. It works fine when 404 is generated on apache side. ...
1
vote
0answers
16 views

Closing proxy to service socket when client is lost

We are using nginx, right now 1.6 to reverse proxy our services to the client. We are also using Server-Sent Events, a layer on top of HTTP that keeps the socket open. Here is a piece of required ...
1
vote
0answers
16 views

Varnish config to fallback to another port

I am playing around the different config setups. Currently I have Varnish-cache in port 80, Apache2 in port 70 and Nginx in port 90 in the same machine. The Varnish is configured in such way that it ...
0
votes
0answers
13 views

Remove Port Access Using mod_rewrite or Something Else

Server Info: Apache VPS, WHM/cPanel, CentOS I am using a CDN/reverse proxy (Cloudflare) to obscure the true IP of my server. So I intend to access WHM/cPanel using the direct IP like this: ...
0
votes
1answer
40 views

How apache reverse proxy can be configured without breaking the https tunnel between client & server?

I have configured apache reverse proxy. In that configuration https connection is possible between client to reverse proxy and again reverse proxy to server. But I want https connection between client ...
1
vote
0answers
24 views

nginx proxy won't retry if backend is unavailable

I have an application that sits behind an nginx reverse proxy. Nothing fancy, just a simple server { listen 54321; proxy_connect_timeout 5000ms; proxy_read_timeout 5000ms; location / { ...
0
votes
1answer
33 views

Nginx reverse proxy with same config working in 2 situations and not in 1 (Vestacp)

I have few vps machines with private networking. I'm using nginx in all of them to proxy pass pass requests into fourth machine (10.129.xxx.xxx) which is only listens private connections. I just ...
0
votes
1answer
32 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
10 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
16 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
49 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
26 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
68 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
32 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
15 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
38 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
32 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
66 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
42 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
58 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
76 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
3answers
44 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
55 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
47 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
72 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
49 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
57 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
25 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
23 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 ...
0
votes
0answers
17 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
141 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
146 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
83 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
2answers
29 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
471 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
60 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
117 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
187 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 ...