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

-1
votes
2answers
2k views

Apache SSL Port Redirection (8443 to 443)

I've got a Tomcat server (JIRA) working behind an Apache reverse proxy server (took a while but I got there). I'm upgrading my old server and adding Apache to give me some extra functionality and ...
1
vote
2answers
438 views

Session lost in tomcat uing nginx as proxy

I have several applications in a tomcar server. I am using nginx for proxy so i can achieve acceding the application from a subdomain tomat:8080/app1 > app1.mydomain.com tomat:8080/app2 > ...
0
votes
0answers
77 views

iis reverse proxy: one default server and a fall-back

After spending dozens of hours to no avail, I am now asking for help with my IIS issue. I use IIS as a reverse proxy, which provides HTTPS encryption and authentication. The public site is, say, ...
0
votes
0answers
41 views

IIS Reverse Proxy return custom page

I have an Elasticsearch cluster that I access through a reverse proxy using IIS7's ARR and URL Rewrite. I can currently perform an HTTP POST to the proxy server and have it sent to the ES cluster, ...
0
votes
0answers
97 views

When trying to ProxyPass with SSL on Virtual Host (Apache2) I receive AH01630: client denied by server configuration: /var/www/

To give a little background; I am on EC2. I am running Apache2 version 2.4.7. I have also opened port 443 on my security group to allow SSL traffic. What I am trying to do in the long run is have a ...
0
votes
1answer
323 views

https reverse proxy on http jetty

I have a jetty application on http. My web hosting runs a reverse proxy on apache on https, which proxies to my jetty application (http). browsing the first page (https://example.com/index.html) ...
2
votes
0answers
374 views

Apache as a reverse proxy for GitLab Omnibus

I'm using GitLab Omnibus on a CentOS6.5 server. The gitlab nginx server listen on the 6543 port (Apache already using 80 and 443). I want to use Apache as a reverse proxy to access GitLab with that ...
0
votes
0answers
59 views

How to write my logic in PHP for an nginx reverse-proxy?

I want to know how can I implement a reverse-proxy using Nginx for protecting (Token Authentication) some servers. One of the obstacles I'm struggling with is how can I establish a relationship ...
0
votes
1answer
244 views

Reverse Proxy a Sub-directory to a Sub-directory with Apache

I understand proxies in concept (though have never set one up). I'm attempting to proxy Drupal, but I'm fairly sure that my problem is not related to Drupal. As I have been trying to determine the ...
0
votes
1answer
109 views

Make an error page folder serve a 403 error to external requests

I'm fiddling about with a server, and I've made one of the subdomains a proxy for a service that isn't always up. The server block looks like: server { server_name servlet.example.org; ...
0
votes
1answer
266 views

Apache reverse proxy to application on tomcat with 8080 port gives wrong URL in response header

I have Apache (2.2) server with below configuration for reverse proxy to application running on tomcat(6) on 8080 port. .... ServerName ext-domain ProxyPreserveHost On ProxyPass /myapp ...
0
votes
0answers
54 views

SQL 2008 Reporting Services behind Apache 2.4

I'm trying to make SQL 2008 Reporting Service available behind a proxy. I had to substitute some urls so the resources (html, js, css) are retrieved via the proxy but for some reason the JS based ...
3
votes
1answer
2k views

Configuring Apache 2.4 mod_proxy_wstunnel for Socket.IO 1.0

I'm trying to configure Apache 2.4 for proxying the websocket connection for socket.io to a node.js websocket server, using mod_proxy_wstunnel. We had this working fine with socket.io 0.9, but with ...
0
votes
1answer
39 views

Nginx ignores my second server directive

I installed nginx via apt-get install nginx on ubuntu 14.04. As such, the default setup includes configs from the directory /etc/nginx/conf.d/ include /etc/nginx/conf.d/*.conf; In my conf.d folder ...
1
vote
2answers
314 views

Nginx does not serve static files over HTTPS

I am trying to set up Nginx in front of Apache as a reverse proxy and to serve static files. I 301 http to https, and provide the directives in https section to serve a static folder via an alias. ...
2
votes
1answer
192 views

How does Squid know if it's cache is is validated

In reverse proxy mode, Squid can cache content from websites previously accessed by devices within the network. What happens if the content on the remote site changes in someway, perhaps by a code ...
0
votes
0answers
84 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
88 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
58 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
47 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
145 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 ...
2
votes
1answer
126 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
1answer
275 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
119 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
86 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
52 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 ...
2
votes
1answer
44 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
43 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
155 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
79 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
221 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
288 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
17 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
76 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
627 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
102 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
1k 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
91 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
29 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
213 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
59 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
392 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
177 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
187 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
554 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
475 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
250 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
138 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
25 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 ...
2
votes
1answer
219 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 ...