Update nginx template to block invalid host headers