Skip to content

Instantly share code, notes, and snippets.

@spectrox
Last active November 21, 2017 19:41
Show Gist options
  • Save spectrox/41903dfb06aad6d6e6e3 to your computer and use it in GitHub Desktop.
Save spectrox/41903dfb06aad6d6e6e3 to your computer and use it in GitHub Desktop.
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