Last updated 2 years ago
set $flag 0; if ($host = 'xxx.com') { set $flag "${flag}1"; # 01 } if ($server_port = 80) { set $flag