摘要: Linux如何将用户从一个组中移除 Linux如何将用户从一个组中移除 gpasswd -d userName groupName id用来查看用户属性 [root@gl gl]# id root uid=0(root) gid=0(root) groups=0(root),1000(gl) [root@gl gl]# gpasswd 阅读全文
posted @ 2022-04-20 13:52 zakun 阅读(599) 评论(0) 推荐(1) 编辑
摘要: Nginx中root和alias的区别 Nginx中root和alias的区别 root与alias主要区别在于nginx如何解释location后面的uri,这会使两者分别以不同的方式将请求映射到服务器文件上 root的处理结果是:root路径+location路径 alias的处理结果是:alias路径替换location路径 ali 阅读全文
posted @ 2022-04-20 11:29 zakun 阅读(394) 评论(0) 推荐(0) 编辑
摘要: nginx跳转index.php两种方式 nginx跳转index.php两种方式 方式一 if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; break; } 方式二 try_files $uri $uri/ /index.php$is_args$args; 阅读全文
posted @ 2022-04-20 10:43 zakun 阅读(853) 评论(0) 推荐(0) 编辑
返回顶部