Even if nginx still triggers a 400 error when receiving a request with no Host: header the solution you provided works fine and permits to achieve the desired result. Thank you very much for your time. Regards, -Luigi