Add ability to add nginx conditionals

This change allows conditionals to be added to nginx vhost templates.

Our specific use case for this is to set the HTTPS environment variable for SSL connections offloaded to the load balancer.