Proper display of a "server overloaded" page

Riedel Sven Sven.Riedel at
Mon Mar 24 06:20:03 UTC 2014

I want to set up a small static HTML Page that informs visitors that our
site is currently under load if an appserver cannot handle the request
within N seconds.

What would be the proper way to do this? Just set up a 504.html error
page? And what are the different conditions when nginx will return a 503
vs a 504?
Are there subtle behavioral differences between a proxy_pass statement and
an upstream pool definition?


Sven Riedel ∙ Senior Systems Architect
Central Systems Architecture
ProSiebenSat.1 Digital GmbH ∙ Ein Unternehmen der ProSiebenSat.1 Media AG
Medienallee 4 ∙ D-85774 Unterföhring ∙
sven.riedel at
Geschäftsführer: Markan Karajica (Vorsitzender), Dr. Sebastian Weil,
Thomas Port
Firmensitz: Unterföhring ∙ HRB 130417 AG München ∙ USt.-ID.-Nr. DE
218559421 ∙ St.-Nr. 9143/104/10137

More information about the nginx mailing list