vi /etc/nginx/nginx.conf
user 设置nginx服务的系统使用用户worker_processes 工作进程数error_log nginx的错误日志pid nginx服务启动时候的pid
events worker_connections 每个进程允许最大连接数 use 工作进程数
重启nginx服务器
systemctl restart nginx.service
service nginx restart