51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

Dokuwiki Nginx 伪静态

rewrite ^(/)_media/(.*) $1lib/exe/fetch.php?media=$2 last;
rewrite ^(/)_detail/(.*) $1lib/exe/detail.php?media=$2 last;
rewrite ^(/)_export/([^/]+)/(.*) $1doku.php?do=export_$2&id=$3 last;
location /
    {
        if (!-f $request_filename)
        {
            rewrite ^(/)(.*)?(.*)  $1doku.php?id=$2&$3 last;
            rewrite ^(/)$ $1doku.php last;
        }
    }
赞(1)
未经允许不得转载:工具盒子 » Dokuwiki Nginx 伪静态