摘要: nginx启动、重启、关闭 一.启动 cd usr/local/nginx/sbin ./nginx 二.重启 更改配置重启nginx kill -HUP 主进程号或进程号文件路径 或者使用 cd /usr/local/nginx/sbin ./nginx -s reload 判断配置文件是否正确 阅读全文
posted @ 2018-11-09 11:39 只有神知道 阅读(20619) 评论(0) 推荐(0) 编辑
摘要: lnmp配置环境可以进入文件 nginx.conf 复制粘贴以下代码location / {try_files $uri $uri/ /index.php?s=$uri&$query_string;}location ~ .php$ {try_files $uri =404;include fast 阅读全文
posted @ 2018-11-09 11:31 只有神知道 阅读(1082) 评论(0) 推荐(0) 编辑