首先安装nginx,就不用赘述,进入/etc/nginx/nginx.conf #定义Nginx运行的用户和用户组#user nobody;#nginx进程数,建议设置为等于CPU总核心数worker_processes1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#进程文件#pid logs/nginx.pid;events{worker_connectio...