求nginx伪静态规则怎么写
rewrite ^/xnews.html$ /index.php?s=ajax-show.html last;
rewrite ^/xgbook.html$ /index.php?s=gb.html last;
这样写是错误的,不行
我就是想让输入xxx.com/xnews.html的时候访问的是xxx.com/index.php?s=ajax-show.html
输入xxx.com/xgbook.html的时候访问的是xxx.com/index.php?s=gb.html
求好心人
页:
[1]