Add error_page to nginx config
Turn nginx server_tokens off
Use production paths for nginx config
nginx listen to standard rails port
Change nginx document_root to be FSH compliant
Use try_files instead of two location blocks
Add nginx server to redirect other domains
Add nginx custom logs
Add nginx ssl config example
Use legacy document root

Too difficult to change to FSH standard at this point
Make nginx redirect server an example

This is unusable with the install script as you can’t pass additional
domains to it. Also makes the assumption that you’re using www. as the
canonical domain name, which might not be the case if you were running alaveteli as as e.g. foi.example.org.
Make setting the server_name a manual step

Interferes with the install script and the server will work without it providing it is the only server available
Don’t assume alaveteli is the default server

Can either be added manually (or by the install script) or nginx will default to this server if there are no others available
Use legacy alaveteli install path for nginx root

For backwards compatability with the install script, use

    PREFIX/HOST/SITE
Merge branch 'nginx-config' into rails-3-develop