原创 nginx if多重判斷方法

nginx不支持if else 多重判斷,需要用另一種方法來解決如下例: location /api/opertree/ {        proxy_next_upstream error timeout invalid_header;