Last active
November 21, 2017 19:41
-
-
Save spectrox/41903dfb06aad6d6e6e3 to your computer and use it in GitHub Desktop.
Originally from https://gist.github.com/jrom/1760790
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
if ($request_method = GET) { | |
set $test A; | |
} | |
if ($http_cookie !~* "auth_token") { | |
set $test "${test}B"; | |
} | |
if ($test = AB) { | |
return 418; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment