随笔分类 - Nginx
linux下nginx
摘要:1. 创建nginx运行账户www并加入到www组,不允许www用户直接登录系统,查看创建。 groupadd www useradd -g www www -s /bin/false tail /etc/passwd 2.进入nginx的配置文件目录 cd /usr/local/nginx/con
阅读全文
摘要:查看运行状态:sudo systemctl status nginx 停止并启动Nginx sudo systemctl stop nginx Nginx重启sudo systemctl reload nginx 注意:Nginx未激活不能进行重启 Nginx强制重启sudo systemctl r
阅读全文

浙公网安备 33010602011771号