simplified checks if variables are set in vhost_location_proxy template

kudos to Matthew Haughton for this suggestion

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>