Created
April 17, 2015 04:19
-
-
Save derek-schaefer/3bcee69373847ca868ef to your computer and use it in GitHub Desktop.
Enable TCP proxy protocol on AWS ELB
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
# Cannot be enabled via the console at time of writing | |
aws elb create-load-balancer-policy --load-balancer-name $ELB_NAME --policy-name EnableProxyProtocol --policy-type-name ProxyProtocolPolicyType --policy-attributes AttributeName=ProxyProtocol,AttributeValue=True | |
aws elb set-load-balancer-policies-for-backend-server --load-balancer-name $ELB_NAME --instance-port $ELB_PORT --policy-names EnableProxyProtocol |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment