I am trying to configure an Elastic Load Balancer to support websockets. I see several things (e.g. one, two, three) telling me to configure it using some nginx configuration. But this is confusing, because nowhere in the ELB documentation does it mention nginx. Where is the official documentation for configuring Elastic Load Balancer using an nginx configuration file?
Asked
Active
Viewed 889 times
0
-
1You cannot configure an ELB using an nginx configuration file. – jzonthemtn Sep 05 '16 at 18:14
-
@jbird then what is this article talking about? https://mitchellsimoens.com/websockets-behind-elastic-beanstalk/ – jameshfisher Sep 05 '16 at 18:26
-
1@jameshfisher that blog post was written by someone who thinks the ELB abbreviation stands for ELastic Beanstalk. It's really frustrating when people use ELB or EBS abbreviations for Elastic Beanstalk, because it makes everything they write confusing to read. – Mark B Sep 05 '16 at 19:02
1 Answers
1
Change your Load Balancer to Application Load Balancer as Application Load Balancer is a new product of AWS which supports Web Sockets. As Classic Load Balancer do not support Websockets and you have to apply work arounds for them to support Websockets.
https://aws.amazon.com/elasticloadbalancing/applicationloadbalancer/

Piyush Patil
- 14,512
- 6
- 35
- 54