Created
May 1, 2014 19:22
-
-
Save odino/6750004f735c8d08687d to your computer and use it in GitHub Desktop.
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
location ~ '^/v(\d{1,2})/(.*)' { | |
proxy_pass http://127.0.0.1/$1/$3; | |
proxy_set_header Api-Version $2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment