• 0
  • 0

常见Nginx伪静态配置

2019-06-24 57 0 admin 所属分类:Nginx

rewrite ^/api/(.+?)/(.+?)(?:\.html)?$ /plugin.php?id=qianye:api&mod=$1&ac=$2&$query_string last;
rewrite ^/admin/(.+?)/(.+?)(?:\.html)?$ /plugin.php?id=qianye:admin&mod=$1&ac=$2&$query_string last;
rewrite ^/(.+?)/(.+?)(?:\.html)?$ /plugin.php?id=qianye&mod=$1&ac=$2&$query_string last;



返回顶部