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

nginx infinite 302 Found redirect loop

I am using nginx to map multiple domains to google app engine. in this specific case i map multiple domains to the same tenant. there is a configuration in my code that knows which domain is the main ...
0
votes
2answers
907 views

nginx reverse proxy or squid forward proxy (transparent)?

I have to implement a proxy server in front of a running production server to route and secure the production-server. On the production server multiple node.js applications listening on different ...
5
votes
1answer
6k views

An upstream response is buffered to a temporary file

I have a rather large and slow (complex data, complex frontend) web application build in RoR and served by Puma with nginx as reverse proxy. Looking at the nginx error log I see quite a few entries ...
-1
votes
1answer
899 views

Bind nginx on the same port for tcp and http [closed]

I have compiled nginx with the tcp_proxy_module by following this guide : http://stackoverflow.com/questions/12102110/nginx-to-reverse-proxy-websockets-and-enable-ssl-wss What I want to do is to be ...
0
votes
1answer
129 views

Apache SSL reverse proxy not correctly forwarding requests to non SSL hosts on localhost

I'm struggling to get my Apache config right. I'd like to terminate the SSL connection on Apache and proxy to the http servers on localhost. The setup is browser --> Apache (HTTPS) --> ...
8
votes
1answer
8k views

Configure Nginx as reverse proxy with upstream SSL

I try to configure an Nginx server as a reverse proxy so the https requests it receives from clients are forwarded to the upstream server via https as well. Here's the configuration that I use: http ...
0
votes
1answer
165 views

nginx proxy to Apache/PHP is slow

My setup: nginx is listening on port 80 and working as a reverse proxy (plus directly sending static files) Apache 2 is listening on port 8080 PHP is running in Apache 2 All running on one server ...
0
votes
0answers
23 views

Is there any benefit using an `upstream` group on a simple nginx reverse proxy?

What are the pros and cons using an upstream group in proxy_pass directive if there is only one upstream server? Is there any difference for instance in speed or "correctness"? For example: server { ...
0
votes
1answer
387 views

apache2 reverse proxy broken after modsecurity is installed ubuntu on 12.04.1

this is the first time I have run into issue like this one. I have a java application setting behind a apache2 using mod_ajp on 8009. I have noticed that I could not get the client's IP so I have ...
0
votes
0answers
71 views

Mod_jk workers configuration

Newbie in Apache/mod_jk config here... I'm trying to configure uriworkermap.properties to achieve the following: enable access only to my Web-Apps, eventually filtering by web-app context. What I did ...
0
votes
2answers
514 views

Nginx proxy cache 301 redirects but ignore querystring

We have a lot of ad-based traffic that pass various query string params on the URL, but these do not affect the content/output of the pages. I currently have the following nginx proxy cache ...
0
votes
1answer
108 views

Single sign-on with Chef

I'm getting my personal infrastructure set up (Gitlab, Jenkins, etc.) and I'm planning on using OpenID for single sign-on. I understand that SSO works for Gitlab and Jenkins. Would I be able to ...
0
votes
2answers
1k views

Apache Reverse Proxy for Sharepoint Remembers Credentials

I'm facing a weird problem with my Apache reverse proxy setup for a Sharepoint server. When I log into the Sharepoint via proxy and then someone else opens the Sharepoint via proxy, he is already ...
0
votes
0answers
749 views

Configure Reverse Proxy on MikroTik RouterOS with different web application ports

Let us say I have two dns records: a.example.com b.example.com I configured my routeros to act as a reverse web proxy for these two urls and forward the traffic to the local ip address of the server. ...
0
votes
0answers
110 views

ProxyPass and mod_cache

Our content changes once a day, and now we are looking to use Apache ProxyPass AND mod_cache to speed up the site. Basically, this is the context: WWW => Apache2.2 => internal (slow) web server ...
0
votes
1answer
35 views

How to use services secured by our gateway IP from clients outside our network?

I work for an organization that uses a managed host for App1 and a collection of apps, App2..N App1 is a web application, hosted on a linux webfarm by a large vendor - and it uses a forms-like ...
1
vote
1answer
118 views

Nginx reverse proxy server not serving cached homepage correctly

I've been configuring a new server for a web development client recently, and run into an interesting problem. The site is fairly high-traffic, but the CMS is fairly heavy and inefficient at ...
-1
votes
1answer
163 views

Reverse proxy without URL Rewriting

I have been asked to setup a reverse proxy but one of the requirements is that no URL Rewriting be performed. I'm trying to wrap my head around this since to me it seems that without rewriting the ...
0
votes
3answers
186 views

Change URL in Source with reverse proxy?

sometimes we make copies of live sites on another server to test new features. A lot of CMS systems hardcode the URL in the database, so it is not possible to just use another URL. On our local ...
0
votes
1answer
325 views

How to proxy a server based on domain name of request using nginx?

There is a situation where firstly all current requests should work as they currently working for certain domain name. For example www.hello.com A dynamic dns is going to point to the same static ip ...
1
vote
1answer
459 views

Use nginx as caching proxy with no conditional get from client

I would like Nginx to be set up as a reverse proxy with caching in front of another web server (origin server). I understand how to do this much. But what if I don't want to depend on the web browser ...
0
votes
0answers
194 views

Provide SSTP VPN and normal HTTPS Websites over the same Port and IP?

In my little lab I want to use SSTP VPN AND a HTTPS-Webpage, which should be accessible from the internet. I just have 1 public IP and the lab is behind NAT (Port forwarding 443). SSTP already works ...
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
0answers
70 views

Is it possible to add resume functionality to an Apache caching reverse proxy?

Our company's proxy is a rather typical corporate setup: it man-in-the-middles SSL connections, tries virus-checking on download and so on. As usual, this setup is rather flaky, which often results in ...
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 ...
2
votes
2answers
358 views

Reverse proxy for 3 websites all on root context

We're struggling with the following problem and trying to understand what's the best way to deal with this. The general goal is such: --> example.com/app1 --> app1.com/ --> ...
-2
votes
1answer
59 views

Should i use DNS or Proxy for server resolution? [duplicate]

We have a custom java web app. We are setting it up in instances in different vps (different providers, different locations).Each instance is independent and self contained. We have several docens of ...
1
vote
1answer
156 views

IIS reverse proxy with caching to same host

I'm trying to get IIS to act as caching reverse proxy, but the cache hit is always 0%. And I really cannot tell why. And the docs always talk of a server farm setup, which is clearly not what I want. ...
1
vote
1answer
666 views

AWS: network ACL blocks outbound traffic

I am implementing a REST service in Amazon AWS. The internal servlets listen on numerous ports like 8080 and 9000, and an Apache configured as a reverse proxy serves them with proper URL schema using ...
0
votes
0answers
115 views

How to diagnose sporadic performance issues?

I have a web application with very varying response times and can't find out what causes that. That's the (quite complicated) setup: Powerful (i7, 32GB RAM) dedicated server in a German data center, ...
1
vote
1answer
122 views

Nginx reverse proxy gives 404 with static content requests

Our setup is two servers: One serves WP installation The other one is used for extra custom functionality. Server 1 that hosts WP is using Nginx as web server and reverse proxy to Server 2. In ...
3
votes
1answer
1k views

Reverse proxy for mixed tcp, udp, and http services

I'm building an architecture that will be hosting various services which individually maybe listening on a variable number of ports that could be mixed protocols. I want to map these services to ...
0
votes
0answers
501 views

Nginx cookie path for JSESSIONID not set

I have a problem with the JSESSIONID of a web application that is running on a Tomcat. The webapplication is running at https://alm-staging.domain.de/webclient.webapp/. Nginx should proxy all request ...
1
vote
0answers
1k views

Confluence Proxy Error Reason : Error reading from remote server

Since this morning I have trouble accessing my confluence. It's on an Ubuntu 12.04 server. The error itself is this Proxy Error The proxy server received an invalid response from an upstream ...
2
votes
1answer
700 views

Apache/2.2.22 (Ubuntu) mod_proxy, mod_filter and mod_substitute

When trying to substitute content from text content-types using mod_substitute and mod_filter it does not work with reverse proxy config. <virtualhost *:80> ServerName rp ProxyRequests ...
2
votes
3answers
206 views

Varnish as Reverse Proxy Server for Rubygems

I want to setup a cache server for Rubygems, as I'm currently based in Vietnam and the international internet connections are pretty slow. I have been trying to get this done via Varnish, but after ...
0
votes
1answer
3k views

nginx config fails with SSL key/pem (unique case)

I am trying to install SSL on my nginx reverse proxy with certified ssl keys but i get this message when i try to restart server: Restarting nginx: [emerg]: ...
-3
votes
1answer
259 views

how publish multi web site with Same port 80 in multi inside web server with cisco router?

I have a problem in publish Multi web Site in multi web server with a single Public IP and all of these Web Sites use Same default port of 80 but have different URL address . I want publish all of ...
1
vote
0answers
413 views

nginx proxypass squid

I'm trying to run squid server behind nginx. my sample configuration : location ~* ^/get/(.*) { proxy_pass http://ip:3128; proxy_set_header Host evenstatichostnamefortest.com; ...
0
votes
1answer
407 views

Nginx and CouchDB reverse proxy not working

I am trying to proxy [http://localhost:5984] to [http://localhost/couchdb]. I am running nginx for proxy. I have followed the same method mentioned at ...
0
votes
2answers
1k views

NGINX redirect 404 errors to an external URL

I haven't found any way to configure 404 errors to redirect to an external URL like http://google.com. I have found ways to redirect to another page like /404.html, but not an external URL. For ...
0
votes
3answers
226 views

Multiple FTP host behind one public IP

I have two boxes . one ubuntu and one Windows Both are hosting http and ftp sites Before they connected to the internet through different IPs so there was no problema, however, we're now down to a ...
2
votes
1answer
145 views

nginx proxy to a proxy

I feel like I must be missing something obvious... but here goes. Question Is it possible to configure an Nginx proxy such that it does not modify the HTTP request URI? How? Background I have an ...
1
vote
0answers
336 views

Apache httpd proxy:reverse error

I have a apache server that handle normal http request for a mobile game. It is like average 2-4 request per second and every thing is working smoothly. However, a unexpected error occur every few ...
0
votes
0answers
30 views

using reverse proxy determine which site on webserver to access

I have a reverse proxy sitting infront of my web server (My webserver has a few different sites). The reverse proxy is on ssl while the webserver is not. I would like to have it so that when a client ...
0
votes
0answers
369 views

Apache2 ProxyPass / ProxyPassReverse results in 404 for only one out of many directives

Apache2, mod_proxy installed, using reverse proxy for more than a dozen sites, works flawlessly for those. Added one more directive but going to that URL results in a 404 error. For the purpose of ...
1
vote
1answer
382 views

Prevent Apache from reverse proxying certain HTTP methods

I am using apache as a reverse proxy to a ruby on rails application server. When a HTTP request is received with a non-standard HTTP method, this causes an error in the application server that exposes ...
1
vote
1answer
61 views

Apache ProxyPass doesn't work for nginx

I'm trying to configure Apache's VirtualHost as a reverse proxy for nginx server (all of the current apps are using Apache and this new app is using some specific features of nginx). Used ...
1
vote
1answer
1k views

Intercepting 404 with nginx as reverse proxy for memcached + node.js

I'm using nginx as a reverse proxy to look up html content from memcached, if not present, then node.js, if not even there, node.js returns 404. What I'm trying to do is intercept and deliver a custom ...
3
votes
1answer
338 views

What is wrong with this attempt to serve up static content? Does a Proxy/ReverseProxy trump Alias, or can I ask for Alias to trump proxy?

I'm working on getting Apache to serve up static files for a Django project. My VirtualHost has: Alias /static/ /home/jonathan/pragmatometer/static/ ProxyPass / http://localhost:8000/ ...