Allow for hostname hookup. Correct nginx template errors.