1.语法 句法: error_page code ... [=[response]] uri; 默认: - 内容: http,server,location,if in location 2.跳转其他网站 [root@web01 /etc/nginx/conf.d]# vim linux.web.com.conf server { listen 80; server_name linux.web.com; location /