Implement custom blocks to be inserted in nginx config.

This is a go at #97 
Line is too long. [230/80]<br>Use the new Ruby 1.9 hash syntax.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.