use correct environment for bundle
Remove extraneous whitespace from nginx template
Add nginx_extra_options config