站长资源变现入口 全国楼凤小姐姐 招商联系客服 招商联系客服 招商联系客服 招商联系客服

海洋cms默认Nginx伪静态规则

[复制链接]
查看357 | 回复0 | 2024-7-29 00:44:55 | 显示全部楼层 |阅读模式
location / {
    rewrite ^/frim/index(.+?)\.html$ /list/index.php?$1 last;
    rewrite ^/movie/index(.+?)\.html$ /detail/index.php?$1 last;
    rewrite ^/play/([0-9]+)-([0-9]+)-([0-9]+)\.html$ /video/index.php?$1-$2-$3 last;
    rewrite ^/topic/index(.+?)\.html$ /topic/index.php?$1 last;
    rewrite ^/topic/index\.html$ /topic/index.php?$1 last;
    rewrite ^/topiclist/(.+?).html$ /topiclist/index.php?$1 last;
    rewrite ^/index\.html$ index.php permanent;
    rewrite ^/news/index\.html$ /news/index.php?$1 last;
    rewrite ^/html/part/index(.+?)\.html$ /articlelist/index.php?$1 last;
    rewrite ^/html/article/index(.+?)\.html$ /article/index.php?$1 last;
}
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则