- 每次醒来2014-08-16论坛元老18864
- 本帖最后由 每次醒来 于 2014-8-18 00:27 编辑 *
http://域名/index.php 访问这个
绝对地址
的时候返回一个下载包或转向baiduhttp://域名/index.php?s=admin/in 其它地址包含 index.php的正常访问
正确答案感谢大婶 **
mulao
**- if ($request_uri ~ ^\/index\.php$) {rewrite ^/(.)$ http://www.baidu.com/ permanent; }复制代码
如果之前的实在不行,试试这个
加在 server {}
location之前