Skip to content

Instantly share code, notes, and snippets.

@marv-devops
marv-devops / nginx.conf
Created October 14, 2022 19:53 — forked from jrom/nginx.conf
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";