Here’s my very simple proxy configuration for k0nsl.org with an upstream declared which contains one additional server for backup. This configuration only shows parts of the entire nginx configuration, here’s the gist of it:
I know the timeout is a bit high, but it was necessary for something specific I did – will lower it later.
k0nsl is a programmer, server administrator, designer, moderator, spokesman and factotum of a wide-variety of web pages.
You can reach k0nsl via e-mail — email@example.com.