wrapping proxy_set_header Host in if block.