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
20 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
2answers
1k 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 ...
2
votes
1answer
21 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
30 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
11 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
0answers
9 views

Push AUTH_TYPE CGI environment variable upstream

I have ported a Perl script to a Node.js app. The Perl script is executed by Apache, whereas the Node.js app is reverse-proxied. Both are protected by Shibboleth authentication... In order to get the ...
0
votes
1answer
12 views

How to recover Apache reverse proxy fast after proxy error?

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
153 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 ...
1
vote
0answers
4 views

How to configure nginx to dynamically read folders, user accounts/domains? [duplicate]

I have cPanel and Apache 2.4 on my CentOS 6.6 VPS. I installed Nginx as a reverse proxy. Everything works fine. I have 2 domains on the VPS & I'm able to configure them both on nginx. The ...
3
votes
1answer
34 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
892 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
1answer
295 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
17 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
172 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 ...
1
vote
1answer
30 views

How to configure nginx to dynamically read folders, user accounts/domains?

I have cPanel and Apache 2.4 on my CentOS 6.6 VPS. I installed Nginx as a reverse proxy. Everything works fine. I have 2 domains on the VPS & I'm able to configure them both on nginx. The ...
2
votes
0answers
26 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
28 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
4k 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 ...
0
votes
1answer
21 views

Nginx reverse proxy configuration for multiple domains

I have multiple accounts/domains on my server. I'm using cPanel with Apache 2.4 and wanted to use Nginx as a front reverse proxy. I changed Apache port, installed Nginx and it works fine but for one ...
0
votes
2answers
916 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
2k 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
1answer
897 views

password protect apache vhost + reverse proxy

I wish to create a password protected vhost for selected clients (clients.mysite.com) We have a windows reverse proxy with some vhosts (www, static, secure). I am not using htaccess files as this is ...
1
vote
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 ...
0
votes
0answers
26 views

VirtualHost for httpd SSL reverse proxy server for tomcat on CentOS 7

A CentOS 7 web server on the web will be configured to only accept SSL connections from a small number of known users. The server has one ip and only one domain name. As part of that configuration, ...
0
votes
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
29 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
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 ...
1
vote
1answer
43 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
25 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
22 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 ...
5
votes
4answers
4k views

SSH Tunnel for Remote Desktop via Intermediary Server Part II

I asked previously how to configure 2 SSH tunnels using an intermediary server in order to run Remote Desktop through them and I managed to make it work. Now, I'm trying to do the same, using the same ...
1
vote
1answer
2k views

apache2 mod_proxy without 301 moved permanently?

Is it possible to not send a 301 moved permanently response to the client when using mod_proxy? I would like the client to deal with the reverse proxy as opaquely as possible. My Virtual Host ...
0
votes
2answers
38 views

Serving multiple proxy endpoints under location in Nginx

I have a couple of API endpoints that I want to serve from under a single location of /api with subpaths going to different endpoints. Specifically, I want webdis to be available at /api and a ...
2
votes
1answer
802 views

Reverse Proxy (mod_rewrite) and Rails (absolute paths)

I have front end rails app, that reverse proxies to any of a number of backend rails apps depending on URL, for example http://www.my_host.com/app_one reverse proxies to ...
0
votes
1answer
21 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 ...
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, ...
2
votes
2answers
999 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
858 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
2answers
956 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
24 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
137 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
773 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
101 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: -------------------------- -------------------------------- ...
2
votes
3answers
2k 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
31 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. ...
0
votes
1answer
993 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/ ...
3
votes
1answer
2k 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 ...
0
votes
0answers
8 views

iis reverse proxy and POST response limits

I have a web app running on a server, IIS is configured to serve as a reverse proxy for the app server which is running on port 8080 (tomcat). When I run the app in the browser on my computer, the ...
1
vote
1answer
25 views

Apache as authentication proxy

We are trying to implement authentication proxy from Apache httpd. This should secure application that uses Basic Authentication but user should authenticate with httpd's authentication (mod_auth_cas ...
3
votes
1answer
956 views

Nginx Reverse Proxy Node.js and Wordpress + Static Files Issue

I have had quite a time trying to get nginx to serve static assets from my wordpress blog. Have a look at the config and let me know if you can help. ( https://gist.github.com/1130332 - to see the ...