HTTP_HOST not found behind load balancer on EC2

耗尽温柔 提交于 2019-12-10 11:08:36

问题


In some requests the $_SERVER['HTTP_HOST'] not exists. I researched on the causes and now I know that this occurs on HTTP 1.0 requests.

I have 4 domains in many machines behind a load balancer on AWS EC2 and I don't have a idea how to solve this problem.

This is important, because is a business rule.

来源:https://stackoverflow.com/questions/24044630/http-host-not-found-behind-load-balancer-on-ec2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!