Oct25

群辉NGINX配置文件

include /etc/nginx/conf.d/*.conf;
location / {
    if (!-e $request_filename) {
        rewrite ^/(\d+)\.html(.*)$  /index.php?a=s&bid=$1$2 redirect;
        rewrite ^/v.html$ index.php?a=v redirect;
        rewrite ^/c(\d+)\.html$ index.php?a=c&sid=$1 redirect;
    }
}

https://freessl.cn

本篇文章已有0条评论