Last active
August 29, 2015 14:25
-
-
Save sansmischevia/cf425d5ffe09f824cb27 to your computer and use it in GitHub Desktop.
Safe ELB proxy_pass with nginx
This file contains hidden or 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
location / { | |
set $backend "<ELB_A_RECORD?"; | |
proxy_pass http://$backend$uri; | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment