Nginx_Config ubuntu下安装nginx sodu apt-get install nginx 编辑配置文件 vim /etc/nginx/nginx.conf 检查语法是否正确 nginx -t 重新加载配置文件 nginx -s reload