Created
July 24, 2014 00:47
-
-
Save kreegr/5d6eb5ac71a2a91a8925 to your computer and use it in GitHub Desktop.
nginx wildcard proxy_pass
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 ~ ^/(.*)/ { | |
resolver 10.225.144.10 10.225.147.10 valid=15s; | |
proxy_pass http://$1/$is_args$args; | |
proxy_buffering off; | |
proxy_read_timeout 300; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment