海洋cms新版伪静态规则

   
摘要GPT
摘要小助理暂时失联跑路啦……😜
location / {
	rewrite ^/type/(.+?)\.html$ /list/index.php?$1 last;
	rewrite ^/video/(.+?)\.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;
}

知识共享许可证 CC BY-NC-SA 4.0
最后更新于 2024-07-17 18:28
使用 Hugo 构建
主题 hugo-magic小洋葱 魔改 由 Jimmy 设计
Written by Human, Not by AI