Nginx Configs is fork Nginx Server Configs project maintained by Andy Dawson
Nginx Configs is a collection of configuration snippets that can help your server improve the web site's performance and security, while also ensuring that resources are served with the correct content-type and are accessible, if needed, even cross-domain.
Installation and config guide on Ubuntu 14.04