![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
wjm0519
这个作者很懒,什么都没留下…
展开
-
phpstudy php + nginx 取消入口文件index.php
在vhosts.conf文件中添加如下代码server { listen 8080; server_name admin.hhh.com hhh.com; root "E:/phpstudy_pro/WWW/admin.hhh.com/public"; location / { index index.php index.html error/index.html; if (!-...原创 2021-05-05 13:05:07 · 227 阅读 · 0 评论 -
新版phpstudy nginx tp 取消路由中的index.php
在对应的nginx 的域名配置文件中添加如下代码if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; break; }效果结果原创 2020-10-09 11:46:27 · 396 阅读 · 0 评论 -
phpstudy nginx 配置多站点
1.首先打开phpstudy2.可以点击切换版本切换到对应的系统版本3.点击“其他选项菜单”打开配置文件下的nginx-conf文件4.复制server的内容5.击“其他选项菜单”打开配置文件下的vhosts-ini文件,粘贴server的内容并修改红色部分的内容6.重启phpstudy...原创 2019-10-09 17:28:32 · 1299 阅读 · 0 评论