摘要: user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768; # multi_accept o 阅读全文
posted @ 2024-01-31 21:54 惊朝 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 常用命令: 注意看你的用户是管理员用户还是普通用户 启动nginx:sudo nginx。这个也可以但是没试过:sudo /etc/init.d/nginx start 关闭nginx:sudo nginx -s stop 重载配置文件:sudo nginx -s reload 授权:sudo ch 阅读全文
posted @ 2024-01-31 21:36 惊朝 阅读(4) 评论(0) 推荐(0) 编辑