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
vote
1answer
447 views

Apache Reverse Proxy setting for site having Spring Security

I am having a Spring MVC app which uses Spring Security for login. I am using Apache Webserver as Proxy and Tomcat. Below is my /etc/apache2/sites-enabled/example.com.conf file: ServerAdmin ...
0
votes
1answer
155 views

Nginx ip_hash behind proxy (Cloudflare)

We use nginx for our load balancing, and we need ip_hash to guarantee our server work fine. When we started using cloudflare, most our requests go for one server as it seems all of them are ...
0
votes
0answers
31 views

How to cache 404/500 pages with IIS ARR

I have been trying to set up ARR with IIS, but I can't find any clue how to make it cache 404 and other error pages locally as well. Is there a setting or workaround for that anywhere or something? ...
1
vote
0answers
84 views

IIS Reverse Proxy to Tomcat uppercase path

We have an application being served by Tomcat 7 on port 8080. We want users to use SSL. So we are using IIS 8 as a Reverse Proxy to proxy connection from port 443 to port 8080. This is what we are ...
1
vote
2answers
358 views

Squid load balancing and reverse proxy conflicts

I'm having difficulties configuring Squid 3.3 to do both "load-balancing" over multiple WAN links (using random ACLs + tcp_outgoing_address options) and to also have a "reverse proxy". It works just ...
0
votes
0answers
177 views

Configure nginx to proxy pass when some conditions occurs or to use php fastcgi otherwise

I have a particular case on which I want to redirect visitors to a "prerender" server when I found out the visitor is a crawler (to give a SEO-optimised website) and to a standard php fast-cgi ...
1
vote
0answers
114 views

Bad HTTP Location: header with nginx proxying couchdb

I'm using nginx as a reverse proxy for CouchDB. I'd like to use a prefix for the proxy, e.g. http://[ip]:8080/proxy/testdb -> http://localhost:5984/testdb. I'm getting Location: headers in the HTTP ...
0
votes
0answers
227 views

Access pfSense reverse proxy sites from LAN

I've configured multiple webservers inside the reverse proxy package to redirect to a single servers, but on different ports. app1.mysite.com -> app.mysite.local:8000 app2.mysite.com -> ...
0
votes
0answers
107 views

IIS URL Rewrite not adding trailing slash

I have a Windows Server 2012 R2 acting as a reverse proxy for an apache server on another local server. When I access the site with example.com/myapp/ It works fine but if I go to example.com/myapp ...
0
votes
1answer
161 views

Apache SSLVerifyClient - exclude one URL

I am setting up Apache 2.2 as a reverse proxy. My need is to have certificate authentication for every reverse-proxied url except one (https://mailserver.com/Microsoft-Server-ActiveSync) that is used ...
1
vote
1answer
136 views

Nginx and Tomcat Reverse Proxy not Working

I had trouble configuring Nginx and Tomcat Server on Cent OS. Here's the nginx.conf: server { listen 80; server_name subdomain.test.com; root ...
1
vote
0answers
100 views

Nginx, proxy_pass and vm backends

My intention is to have several webapps run on different VMs, all put through a nginx proxy. The main Problem is, that the URL gets changed, e.g. http://example.com/app1/ Gets to the webapp (but CSS ...
0
votes
1answer
936 views

Is it possible to match more than one regular expression with a single <ProxyMatch> rule?

I have a production, testing, and development server for a site that I maintain. All three servers are running Apache 2.2.16 on Debian 6 GNU/Linux. I have set up a new version of our company site on ...
0
votes
1answer
469 views

Nginx reverse proxy without SSL termination

I'm trying to set up Microsoft Remote Desktop Web Services on a Windows 2k12 server. This is fully functional, however I would like (need to) put a reverse proxy (Nginx) in front of it. I only have ...
0
votes
3answers
47 views

lighttpd example.com/support to support.example.com

I googled around and could not find a solution. I am not sure If I am using the correct terminology. I am using lighttpd (1.4.33) and would like to go to the url http://support.example.com and have ...
1
vote
2answers
445 views

What web application firewall do you use? What should I use? [closed]

What web application firewall do you use? I'm primarily interested in something I can deploy on the perimeter that can protect multiple Apache and IIS servers, but I'd like to hear all answers. Tell ...
0
votes
0answers
57 views

Reverse proxy server that accepts connections from HTTP server - does it exist?

I'm the developer of an embedded hardware device which contains a lightweight HTTPS server. The problem is that I wish for the embedded device's web server to be accessed from outside when placed ...
2
votes
0answers
105 views

nginx with php and two node.js routes

I have two routes i want to pass two node processes(websocket route, angular app), while a 3rd route needs to pass to a php application that acts as a rest api to the angular app. i'm not terribly ...
1
vote
1answer
3k views

Multiple SSL certificates with Squid reverse proxy

I have been upgrading my network from using an apache reverse proxy (Not quite powerful enough) to a Squid proxy configured just for reverse use. My squid proxy is on a CentOS 6 VM, and currently ...
0
votes
0answers
86 views

squid reverse proxy using too much memory

I have a bunch of small vps set up for http caching in a bunch of edge locations using squid as a reverse proxy (varnish caused more issues and had worse performance). These vps have 1gb of ram and ...
0
votes
0answers
87 views

apache mod_proxy_html to rewrite wsdl

I'm trying to configure mod_proxy_html on apache httpd 2.4.9 to rewrite an element of an xml document returned from a webservice that is reverse proxied using mod_proxy_balancer <description ...
4
votes
1answer
754 views

Wordpress behind reverse proxy

Our organization is remaking it's site. Someone had set up new site on new server. It can be accessed after putting an entry in /etc/hosts. And works perfectly when accessed this way. But since most ...
3
votes
1answer
2k views

How do I get Nginx to pass authentication on to IIS as a reverse proxy?

I have the following setup in my Nginx (1.2.6 on Windows 7) conf file: location ~ ^/FOO/(.*)$ { proxy_pass http://server_two:8888/FOO/$1; } On server_two I have IIS7 running a WCF service ...
0
votes
1answer
107 views

How to proxy requests from Nginx to SSL server

My curl request looks as follows: curl --header "Authorization: Basic BASE_64" https://example.com --tlsv1 -k (I need to explicitly provide TLS and skip verification) and it works. I'd like to ...
1
vote
1answer
199 views

How to filter / redirect URLs coming into the network?

I am not sure if this is possible, or not but what I would like to do is as follows: I have one IP address (dynamic using zoneedit.com to keep it uptodate). I have one webserver running my main site ...
2
votes
1answer
276 views

Changing proxy_cache_valid value based on GET Query

I'm currently trying to setup a nginx cache that should cache a location for a long time but if query parameters are present for only a few minutes. So basically: http://example.com/mypath -> ...
1
vote
1answer
103 views

Nginx Session-Binding-Proxy

I've been trying to harden a website against attacks involving Session Hijacking. The site runs with Nginx in front of an node.js app. As one of the countermeasures, the goal is to configure Nginx to ...
3
votes
0answers
77 views

Setting header based on client certificate

I have Apache running as a reverse proxy for an internal server. Users hitting the proxy are required to use client certificates. On the internal server, there is a web application that can use an ...
0
votes
1answer
40 views

How to recover Apache reverse proxy fast after proxy error? [duplicate]

I have benn running Apache2 frontends as reverse proxy configurations for years now. What I was not able to change is the behaviour after a backend server goes down for a short time (i.e. restart) ...
0
votes
1answer
347 views

apache reverse proxy 404 image error

I have some error with my apache reverse proxy. Currently I am doing reverse proxy to 4 websites. 1.1.1.1/a 1.1.1.2/b 1.1.1.3/c 1.1.1.4/d I am having no problem when reverse proxy to a and b ...
3
votes
1answer
82 views

Apache Reverse Proxy Unescapes URL

I am running Apache 2.2.15 as a reverse proxy in my DMZ. I have an application on the internal network that I make available on the Internet for staff to use by going through the reverse proxy. As ...
0
votes
1answer
389 views

Issue with Nginx, http authentication and dynamic IP address

I am trying to get Nginx as a reverse proxy to authenticate users performing inbound http requests. My ISP provides me with a dynamic IP. I am not sure how to configure my ADSL router (NAT rules). ...
0
votes
0answers
77 views

Apache HTTPD accept requests different destination IP and HTTP Host header

We've built and brought up a new version of a web application. The legacy web application still exists and is still used by legacy clients. Now we want to migrate these old legacy clients to use the ...
2
votes
1answer
212 views

Stunnel + Varnish + Apache questions

I am currently running Varnish in front of apache for all http traffic. I added stunnel so as to take advantage of the cache for HTTPS connections as well. So, for HTTPS, stunnel talks to varnish ...
2
votes
0answers
94 views

mod_ssl client certificates on a reverse proxy

I am trying to add client certificate authentication on a reverse proxy that proxies an oracle application. Before adding, and if i remove the subsequent code, the oracle application is able to start ...
1
vote
1answer
58 views

Simplest way to forward HTTP requests to a different server

I have a mobile app that needs to communicate with a third-party server over an HTTP API. But the third-party server can be accessed only from an approved IP addresses, meaning that I need to put my ...
3
votes
1answer
7k views

Using Https between Apache Loadbalancer and backends

I am using an apache (2.4) server configured as loadbalancer in front of 2 apache servers. It works fine when I use http connections between loadbalancer and backends, however using https does not ...
1
vote
1answer
1k views

Nginx case-insensitive reverse proxy rewrites

I'm looking to setup an nginx reverse proxy to make some upcoming server moves and load balanced implementations much easier within our apps. Since our servers are all IIS case sensitivity hasn't ...
0
votes
1answer
213 views

Jenkins under Apache httpd sometimes switches from SSL to plain HTTP

I have Jenkins and Apache httpd with reverse proxy installed. They are installed on the same PC. I can access Jenkins directly and it is ok. E.g. following link works fine: ...
1
vote
1answer
942 views

Getting “Too many redirects” error with nginx rewrite rule

I am trying to rewrite the domain url that targets my site such that all domain names are rewritten to www.example.com and have the following config: mysite block server { listen ...
0
votes
1answer
41 views

Access a remotely inaccessible webapp through an accessible server [closed]

I need to access a locally developed webapp (port 80), which is for the time being inside a computer that cannot be accessed remotely: local machine (for ex. it's behind a firewall). So, what I ...
0
votes
0answers
359 views

FreeNAS jail port forwarding without DHCP

I'm trying to get port forwarding working correctly with jails, and having trouble (I don't have any experience with ipfw or FreeBSD jails. is ipfw even running by default on FreeNAS? I notice pf is ...
0
votes
1answer
168 views

Apache2 ProxyPassReverse not rewriting URL properly

I have the below apache virtualhost configuration. ProxyPassReverse does not appear to be converting the URLs properly. URL http://www.example.com/9999pcap/ shows a directory listing on a remote ...
1
vote
2answers
1k views

Using Apache httpd to redirect context path?

I'd like to proxy http://localhost:1006/ as http://example.com/public/ to the outside world. Here is my configuration: RewriteEngine On # Append a slash if necessary RewriteRule ^/public$ public/ ...
-1
votes
1answer
60 views

Reverse proxy for 2 domain with same context path

I have 2 different domains my.domain1.com and my.domain2.com and both have context name /app1 and this should be routed to two different backend boxes. Problem here is my.domain1.com is running on ...
2
votes
0answers
151 views

nginx reverse proxy not returning website

The setup Currently, we have an Apache2 webserver acting as load balancer for our web architecture. The backends are Xen virtual machines accessible via IPv6 for the public Internet and via IPv4 for ...
5
votes
1answer
832 views

nginx redirects back to remote_addr IP

I am trying to setup nginx 1.0.12 as a proxy for apache 2.2.15, but faced a strange problem. And I cannot solve it for third day in a row. I have test site c-craft.info and have installed roundcube in ...
0
votes
1answer
382 views

Reverse SSL Proxy: NGINX in front of NGINX and Joomla

My question is similar to this one, except that I have another nginx server behind the frontend nginx ssl proxy server: -------------------------- -------------------------------- ...
3
votes
3answers
3k views

In nginx reverse proxy, how to set the secure flag for cookies?

I'm using nginx as a reverse proxy to serve a https-only site. So I want the cookies for this site flagged as secure. But the backend server is an http one so it won't set the secure flag to its ...
1
vote
0answers
117 views

Change nginx response body with reverse proxy

Trying to change the content of a page I'm reverse proxying through an nginx server. I've tried using nginx_substitutions_filter with no luck. Does anyone know if this is possible and how it's down. ...