Created
March 3, 2015 19:57
-
-
Save jaredstehler/20b2e0c74e49d76de118 to your computer and use it in GitHub Desktop.
nginx load balancer internal proxy definition
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 ^~ /hs_existing_service_proxy { | |
internal; | |
resolver 8.8.8.8; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header Host $http_host; | |
proxy_buffering off; | |
proxy_max_temp_file_size 0; | |
set $download_url $upstream_http_x_downstream_url; | |
proxy_pass $download_url; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment