阅读:930回复:0

使用万能调用模块,如何设置伪静态

楼主#
更多 发布于:2020-12-16 17:20
万能调用模块很方便,很好用,就是不知道怎么去设置伪静态规则
尝试使用

location / {
    rewrite /index /index.php last;
}  
以及:
location / {
    rewrite ^(.*)$ /$1.php last;
}  
或者:
location / {
    try_files $uri $uri/ $uri.php?$args;
}  
无法实现,求助下有大佬知道的吗,怎么去掉.php后缀
游客

返回顶部