客服QQ 2861666504

乐众财务lzsys

日记 我是谁 3个月前 (09-15) 88次浏览 扫描二维码

PHP7.1(安装插件SG14)

伪静态:

location / {
if (!-e $request_filename){
rewrite ^/news/([a-z0-9_\-]+)\.html(\?(.*))*$ /index.php?news_id=$1&$args;#文章内容
rewrite ^/?view_file=([a-z0-9_\-]+)\.html /index.php?=view_file=$1&$args;#?view_file=bak.html
rewrite ^/class/([a-z0-9_\-]+)\.html(\?(.*))*$ /index.php?class_id=$1&$args;#文章栏目
rewrite ^/shop/([a-z0-9_\-]+)/([a-z0-9_\-]+)/([a-z0-9_\-]+)/([a-z0-9_\-]+)\.html(\?(.*))*$ /index.php?shop_brand_id=$1&shop_region_id=$2&shop_available_id=$3&add_shop=$4&$args;#精选套餐还是弹性套餐管理
rewrite ^/shop/([a-z0-9_\-]+)/([a-z0-9_\-]+)/([a-z0-9_\-]+)\.html(\?(.*))*$ /index.php?shop_brand_id=$1&shop_region_id=$2&shop_available_id=$3&$args;#大区管理
rewrite ^/shop/([a-z0-9_\-]+)/([a-z0-9_\-]+)\.html(\?(.*))*$ /index.php?shop_brand_id=$1&shop_region_id=$2&$args;#地域管理
rewrite ^/shop/([a-z0-9_\-]+)\.html(\?(.*))*$ /index.php?shop_brand_id=$1&$args;#品类管理
rewrite ^/([a-z]+[a-z0-9_]*)/([a-z0-9_\-]+)\.([a-z0-9_\-]+)(\?(.*))*$ /index.php?$args;#登录控制面板 开通主机 续费主机
rewrite ^/([a-z]+[a-z0-9_]*)\.([a-z0-9_\-]+)(\?(.*))*$ /index.php?$args;#文章列表
rewrite ^/([a-z]+[a-z0-9_]*)/([a-z]+[a-z0-9_]*)$ /index.php?news_id=$1&$args;#二级目录通配
rewrite ^/([a-z]+[a-z0-9_]*)$ /index.php?$1&$args;#一级目录通配
rewrite ^/api/(\?(.*))*$ /index.php?$args;#API
}
}
https://www.lzsys.com/news/44.html
喜欢 (0)
联系客服
联系客服
热线电话