简体   繁体   English

AWS-ELB错误页面重定向到其他域

[英]AWS - ELB error page redirection to a different domain

我如何配置ELB将所有错误流量重定向到网站www.myhome.com而不是打印`CANNOT GET / efsdf'

You can't. 你不能 This is a load balancer - it "balances" traffic by redirecting it to instances. 这是一个负载平衡器-通过将流量重定向到实例来“平衡”流量。 You'll have to handle the request when it arrives to your instance (at the web-server/application level). 当请求到达您的实例时(在Web服务器/应用程序级别),您将必须处理该请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM