- 
      
- 
        Save dainiax/fcfe6ecf85ee4a556594f8942a15b46c to your computer and use it in GitHub Desktop. 
Revisions
- 
        jrom revised this gist Feb 8, 2012 . 1 changed file with 16 additions and 13 deletions.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,16 @@ if ($request_uri = /) { set $test A; } if ($host ~* teambox.com) { set $test "${test}B"; } if ($http_cookie !~* "auth_token") { set $test "${test}C"; } if ($test = ABC) { proxy_pass http://teambox-cms.heroku.com; break; } 
- 
        jrom created this gist Feb 7, 2012 .There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ if ($request_uri = /) { set $test A; } if ($http_cookie !~* "auth_token") { set $test "${test}B"; } if ($test = AB) { proxy_pass http://teambox-cms.heroku.com; break; }