use nginx socket attribute
use nginx try_files for proper static file behavior
whitespace fix to keep template consistent