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
2k 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 ...
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
3answers
2k 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 ...
0
votes
1answer
1k 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
0answers
16 views

Remove directory from URL using NGINX as a reverse proxy

Below is my NGINX configuration: server { listen 80; server_name subproject.domain.com; root /usr/local/tomcat/webapps/subproject/; location / { proxy_pass ...
0
votes
1answer
12 views

Nginx not making proxy_pass when getting files (other than index.html) from Apache's Document Root

I think I'm chasing my own tail here and I've decided to ask all you gurus. I have two machines, one has a reverse proxy Nginx and the other an Apache running several virtual hosts. The nginx ...
0
votes
2answers
1k views

Deploying play! 2.0 application on an apache server with a reverse proxy

I'm trying to deploy my play! 2.0 application on an Ubuntu 11.10 server and I have been running into error after error and hope someone can help me here. I am try to deploy my Play! application using ...
0
votes
0answers
14 views

Proxying a Flask app with gunicorn and nginx

I have a Flask application that is currently being server on a machine (call it first_vm) using the following command in supervisord: gunicorn run:app -b 0.0.0.0:8002 -k ...
0
votes
0answers
8 views

Nginx rewrite URL during proxy process

Situation: I wish to host several services for personal/family use on a machine in my house. I want to protect these services with https, but wildcard certs are very expensive, so I am attempting to ...
0
votes
1answer
40 views

How can I route SSH traffic based on a subdomain? [duplicate]

I have a home server running ubuntu 10.04 that is running two services: an SSH service a dockerized gogs service I would like to essentially reverse-proxy incoming SSH connections based on the ...
2
votes
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
27 views

Sub Domain Not Working on Nginx server with Apache Handling PHP

I have a domain setup and it is working. However I cannot get any sub domains working. I am trying to setup a sub domain right now for phpmyadmin. I am using Nginx as a reverse proxy for Apache with ...
0
votes
0answers
45 views

Apache Reverse Proxy with Wildfly?

I have both Apache and Wildfly installed on a Ubuntu 14.04 system. Now I'd like to make Wildfly (locally http://localhost:8080) accessible from Apache (http://webserver/wildfly). How would I have to ...
0
votes
0answers
12 views

Reverse-Proxy fails

I have Apache and Wildfly installed on a Ubuntu 14.04.2 Server and I created a Reverse-Proxy, so that Apache proxies Wildfly. It works, but only half of it. If I hit ...
-1
votes
0answers
28 views

NGINX SSL Reverse Proxy Cache Caching Content only for individual clients

We are having some trouble setting up NGINX as a reverse SSL proxy cache. We have successfully got everything working except the content caching feature. The caching feature works, and displays a ...
0
votes
0answers
5 views

Transparently recreate dependency Docker container

I have usual setup with Java web server and an Nginx as a reverse proxy each in it's own container. In Nginx I have configured a fallback page that is shown to users when backend (web server) is not ...
2
votes
2answers
44 views

How to restrict acess to a context on reverse proxied tomcat context?

I have a tomcat application running with an apache reverse proxy. I'm trying to restrict access to the manager and host-manager contexts from localhost only. So I uncommented the following line on ...
1
vote
3answers
1k 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
2answers
36 views

NGINX Proxy_Pass remove url substring

I have one NGINX acting as reverse proxy. I need to remove a substring string_1 from the URL, the rest of the URL is variable. Example: Origin: http://host:port/string_1/string_X/command?xxxxx ...
0
votes
2answers
4k 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 ...
5
votes
3answers
1k views

How can I stop nginx from retrying PUT or POST requests on upstream server timeout?

We are using nginx to load balance requests to our application. We have found that nginx switches to a different upstream server when requests time out (good). However it does this for PUT and POST ...
1
vote
2answers
1k 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
1answer
43 views

NAT routing based on DNS name (reverse TCP proxy?)

Introduction I have one router, running pfSense (can be anything since it's a virtual machine on VMware, so if the solution requires anything else, that's fine by me) and behind it I have multiple ...
0
votes
1answer
39 views

Apache losing VirtualHost configurations “randomly”

I am hoping someone might be able to shed some light on this issue that I have had no luck solving elsewhere. We are running an Apache (2.2.15) server used for basic load balancing, but ultimately ...
1
vote
1answer
980 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. ...
4
votes
2answers
1k views

Apache reverse proxy access control

I have an Apache reverse proxy that is currently reverse proxying for a few sites. However i am now going to be adding a new site (lets call it newsite.com) that should only be accessible by certain ...
2
votes
2answers
2k 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 ...
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, ...
0
votes
1answer
1k 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/ ...
1
vote
0answers
15 views

When using HTTPS Index.html showing instead of ProxyPass reverse proxied site on Centos 7 Apache 2

The goal is that external users can connect via HTTPS, go through basic auth on Apache and then view a proxies tomcat site. I have set up a reverse proxy to a tomcat server running on the same ...
0
votes
0answers
21 views

How can I secure an insecure Meteor by using Nginx?

I have an insecure Meteor running on AWS. For those not familiar with Meteor, that means I am using the "insecure" package, which trades security for rapid prototyping. I only need our development ...
0
votes
0answers
29 views

Optimizing Performance for a Reverse Proxy Apache Server Hosted on a Virtual Machine

I am relatively new to web hosting, and I'd like to learn how to go about optimizing a server setup. Let me start off by describing my setup. I have an apache server, which sits on a vmware virtual ...
0
votes
0answers
16 views

How to make this pound config work

I'm trying to have pound match on the Host header, and then modify the header before making the request. Something like: Service HeadRequire "Host: company.something.com" HeadRemove "Host" ...
0
votes
0answers
16 views

Apache Reverse Proxy loop

I'm using Apache as a Reverse Proxy to more than 10 internal sites.to access the site I have setup pairs of IP addresses with hostnames in the /etc/hosts file of the Reverse Proxy. If I access the ...
0
votes
1answer
214 views

HaProxy + CloudFlare

I am trying to setup HaProxy with DDoS protection rules (rate limiting). However, I think HaProxy is now rate limiting CloudFlare IPs instead of Visitor/Real IPs. (note: my site itself is fine, ...
2
votes
1answer
3k 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 ...
4
votes
1answer
2k views

nginx failover without load balancing

I'm having trouble with configuring nginx. I'm using nignx for reverse porxy. I just want to send my all requests to my first server. But if the first server is down, I want to send requests to ...
0
votes
1answer
1k views

Apache as a reverse proxy not working for gunicorn

My Goal is to let client connect through https connection but apache serve it to my application which is running on same server over http. Here is my minimalistic apache configuration file (for ...
3
votes
1answer
3k 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
1answer
31 views

Apache reverse proxy 302 redirect browsers directly takes to the redirected URL

I have setup a reverse proxy through glassfish server via apache mod_proxy. my concern is when there is a 302 redirect happens then after that every time i access that url which invoked 302 redirect ...
2
votes
1answer
1k views

Correct configuration of a reverse Proxy with IIS 6.0 and IIRF for Hudson

I have an Hudson build working on IIS 6.0 with reverse proxy (IIRF). In general it works but 2 errors are displayed in Hudson in the main configuration page called "Manage Hudson" (only if I connect ...
0
votes
2answers
49 views

Tuning Tomcat java app with Apache reverse proxy and Postgresql

Looks like my apache reverse proxy may be acting as the bottleneck and bogging down the number of requests users can make. I run Apache and Tomcat on server1, which has 96 gb RAM, rhel5 x64, 24 ...
0
votes
0answers
11 views

Set up a reverse proxy to another proxy

I'm trying to connect a device to an authenticated proxy server for some domains. The device does not support authentication (user/pass) in its settings. I have no control over the proxy server. So, ...
1
vote
2answers
979 views

nginx with real_ip — log both client remote_addr and proxies address

I have an nginx instance set up behind multiple load balancing proxies, and I am using real_ip to get the clients IP address in remote_addr for processing by my Python application. However in my logs ...
0
votes
0answers
43 views

Nginx - reverse proxy pass packets to localhost

Say for example I have nginx proxy setup like such: server { listen 443 ssl; server_name foo.com; #SSL and logging settings omitted location /datapath1 { ...
0
votes
0answers
32 views

Using ProxyPassReverse in Apache 2.4 to run in front of Gitlab, how would I also enable User Directories in Apache?

I'm using Apache 2.4 to proxy with the gitlab omnibus package generally following this strategy from the gitlab recipes. I also want to have User Directories, like /~username using mod_userdir. To ...
0
votes
1answer
33 views

VirtualHost's behind an nginx reverse proxy fail to resolve properly

I have a load balancer pair in front of 4 web servers which run nginx on port 80 and proxy to apache on port 8081 for non-static content like php code. I'm running several domains in this ...
0
votes
1answer
40 views

Reverse Proxy single sign-on

I have a reverse proxy handling ssl termination and mod_security. The issue is after sso reaches the backend server it tries to authenticate with cas directly instead of the through the proxy still, ...
10
votes
6answers
6k views

Is there a name based virtual host SSH reverse proxy?

I've grown quite fond of HTTP reverse proxies in our development environment and found the DNS based virtual host reverse proxy quite useful. Having only one port (and the standard one) open on the ...
1
vote
1answer
198 views

https to http reverse proxy on Jetty 9

Okay, so basically what I want to do is set up a reverse proxy to serve https pages on nginx and redirect them to Jetty using http. The problem is that the servlet actually requires https and ...