假设要跳转到www.C.com:
rewrite ^/(.*)$ http://www.C.com/$1 permanent;

Nginx有无办法自动判断www.C.com宕机 后然后跳转到 WWW.D.COM ?