Skip to content

Instantly share code, notes, and snippets.

syd_que huangjunque

Block or report user

Report or block huangjunque

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jrom / nginx.conf
Created Feb 7, 2012
nginx hack for multiple conditions
View nginx.conf
if ($request_uri = /) {
set $test A;
if ($host ~* {
set $test "${test}B";
if ($http_cookie !~* "auth_token") {
set $test "${test}C";
You can’t perform that action at this time.