server { listen 80 default_server; server_name _; return 500; } 或者 server { listen 80 default_server; server_name _; rewrite ^(.*) http://todarct.com permanent; }
server { listen 80 default_server; server_name _; return 500; } 或者 server { listen 80 default_server; server_name _; rewrite ^(.*) http://todarct.com permanent; }