Skip to content

Instantly share code, notes, and snippets.

View qwertzguy's full-sized avatar

Gaspard van Koningsveld qwertzguy

  • California, USA
View GitHub Profile
@jrom
jrom / nginx.conf
Created February 7, 2012 17:14
nginx hack for multiple conditions
if ($request_uri = /) {
set $test A;
}
if ($host ~* teambox.com) {
set $test "${test}B";
}
if ($http_cookie !~* "auth_token") {
set $test "${test}C";