Updated the example nginx config

- Added a snippet for illegal host headers
- Added a snippet for redirecting to www