Set Host header accordingly to local-host option