Patches AWS Elastic Beanstalk's default nginx configuration to support websockets, for use with an Application Load Balancer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|sed -i '/\s*proxy_set_header\s*Connection/c \|
|proxy_set_header Upgrade $http_upgrade;\|
|proxy_set_header Connection "upgrade";\|