NginX Caching and Special Setup..

Hello Fellows,

We have configured our system with NginX listening on port 80, serving static content and proxying dynamic requests to a backend server.

I can configure NginX to cache content generated by the Backend, but I want this cached content be served only when the Backend responds with an error HTTP 5xx, or when it's totally down or unreachable.

We tried the proxy_cache_use_stale option with max-age of 1 second, it worked but it has one negative side.. which is simply dozens of requests being served from cache during this 1 second cache-aged-content. These requests served from cache will miss further Backend processing (Stats for example).

We can only afford to live with this negativity IF the backend was down, Thus, the cache will act as a backup or a failover solution. But as long as the backend is up and responding, no requests should be served from cache.

We need some good hands that can make this done for us, and discuss the solutions.

Please, if you are not with enough good and solid experience in this field.. don't bid and waste both of our times.


Skills: Linux, Nginx

See more: nginx caching setup, nginx cache server, negativity, dynamic cache, nginx, nginx cache configure, unreachable, dynamic serving, nginx linux, setup svn server nginx, nginx setup, failover server, setup reverse proxy nginx, linux server nginx, backup solutions, linux nginx, nginx stats, setup pseudo streaming nginx, dynamic backend system, configure cache, setup backup, linux backend, nginx cache, backend setup, server live stats

About the Employer:
( 40 reviews ) Jeddah, Saudi Arabia

Project ID: #4671650

6 freelancers are bidding on average $150 for this job


Hi there, We are experts in PHP Open Source (any kind of PHP/MySQL work),wordpress and Ajax/Web 2.0 technology. Some of the projects we completed for php are mentioned below More

$257 USD in 5 days
(174 Reviews)

I can help you with this

$130 USD in 3 days
(36 Reviews)

I have over 10+ Years of experience with Linux , Unix Servers, Data centers and VMware ESXi expertise. I can do this project. Lets get started

$200 USD in 3 days
(9 Reviews)

Please see my PM.

$147 USD in 3 days
(8 Reviews)

Please check messsage.

$100 USD in 3 days
(1 Review)

i'm interested

$66 USD in 1 day
(0 Reviews)