1 Star 0 Fork 5

ReposFork/lmshop_kj

forked from YHGJ/lmshop_kj 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dsc-nginx.conf 9.66 KB
一键复制 编辑 原始数据 按行查看 历史
Administrator 提交于 2017-07-31 14:57 . test
####################################
# #
# 大商创 Nginx服务器 伪静态文件 #
# #
###################################
if (!-e $request_filename)
{
rewrite ^/index.html$ /index.php last;
rewrite ^/category$ /index.php last;
#bylu
rewrite ^/exchange.html$ /exchange.php last;
rewrite ^/group_buy.html$ /group_buy.php last;
rewrite ^/brand.html$ /brand.php last;
rewrite ^/group_buy.html$ /group_buy.php last;
rewrite ^/auction.html$ /auction.php last;
rewrite ^/package.html$ /package.php last;
rewrite ^/activity.html$ /activity.php last;
rewrite ^/snatch.html$ /snatch.php last;
rewrite ^/store_street.html$ /store_street.php last;
rewrite ^/presale.html$ /presale.php last;
rewrite ^/categoryall.html$ /categoryall.php last;
rewrite ^/merchants.html$ /merchants.php last;
rewrite ^/message.html$ /message.php last;
rewrite ^/wholesale.html$ /wholesale.php last;
rewrite ^/gift_gard.html$ /gift_gard.php last;
rewrite ^/history_list.html$ /history_list.php last;
rewrite ^/merchants_steps.html$ /merchants_steps.php last;
rewrite ^/merchants_steps_site.html$ /merchants_steps_site.php last;
rewrite ^/feed-c([0-9]+)\.xml$ /feed.php?cat=$1 last;
rewrite ^/feed-b([0-9]+)\.xml$ /feed.php?brand=$1 last;
rewrite ^/feed-type([^-]+)\.xml$ /feed.php?type=$1 last;
rewrite ^/feed\.xml$ /feed.php last;
rewrite ^/category-([0-9]+)-b([^-]*)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5&page=$6&sort=$7&order=$8 last;
rewrite ^/category-([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /category.php?id=$1&price_min=$2&price_max=$3&filter_attr=$4&page=$5&sort=$6&order=$7 last;
rewrite ^/category-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /category.php?id=$1&price_min=$2&price_max=$3&page=$4&sort=$5&order=$6 last;
rewrite ^/category-([0-9]+)-b([^-]*)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*).html$ /category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5 last;
rewrite ^/category-([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*).html$ /category.php?id=$1&price_min=$2&price_max=$3&filter_attr=$4 last;
rewrite ^/category-([0-9]+)-b([^-]*)-min([0-9]+)-max([0-9]+)(.*).html$ /category.php?id=$1&brand=$2&price_min=$3&price_max=$4 last;
rewrite ^/category-([0-9]+)-b([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /category.php?id=$1&brand=$2&page=$3&sort=$4&order=$5 last;
rewrite ^/category-([0-9]+)-b([^-]*)-attr([^-]*)(.*).html$ /category.php?id=$1&brand=$2&filter_attr=$3 last;
rewrite ^/category-([0-9]+)-b([^-]*)-max([0-9]+)(.*).html$ /category.php?id=$1&brand=$2&price_max=$3 last;
rewrite ^/category-([0-9]+)-attr([^-]*)(.*).html$ /category.php?id=$1&filter_attr=$2 last;
rewrite ^/category-([0-9]+)-min([0-9]+)-max([0-9]+)(.*).html$ /category.php?id=$1&price_min=$2&price_max=$3 last;
rewrite ^/category-([0-9]+)-max([0-9]+)(.*).html$ /category.php?id=$1&price_max=$2 last;
rewrite ^/category-([0-9]+)-b([^-]*)-([0-9]+)(.*).html$ /category.php?id=$1&brand=$2&page=$3 last;
rewrite ^/category-([0-9]+)-b([^-]*)(.*).html$ /category.php?id=$1&brand=$2 last;
rewrite ^/category-([0-9]+)(.*).html$ /category.php?id=$1 last;
rewrite ^/goods-([0-9]+)(.*).html$ /goods.php?id=$1 last;
rewrite ^/presale-([0-9]+)-(([a-zA-Z])+([^-]*)).html$ /presale.php?id=$1&act=$2 last;
rewrite ^/presale-(([a-zA-Z])+([^-]*)).html$ /presale.php?act=$1 last;
rewrite ^/user-(([a-zA-Z])+([^-]*)).html$ /user.php?act=$1 last;
rewrite ^/categoryall-([0-9]+)(.*).html$ /categoryall.php?id=$1 last;
rewrite ^/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /article_cat.php?id=$1&page=$2&sort=$3&order=$4 last;
rewrite ^/article_cat-([0-9]+)-([0-9]+)-(.+)(.*).html$ /article_cat.php?id=$1&page=$2&keywords=$3 last;
rewrite ^/article_cat-([0-9]+)-([0-9]+)(.*).html$ /article_cat.php?id=$1&page=$2 last;
rewrite ^/article_cat-([0-9]+)(.*).html$ /article_cat.php?id=$1 last;
rewrite ^/article-([0-9]+)(.*).html$ /article.php?id=$1 last;
rewrite ^/merchants-([0-9]+)(.*).html$ /merchants.php?id=$1 last;
rewrite ^/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)-(([a-zA-Z])+([^-]*))\.html /brand.php?id=$1&cat=$2&page=$3&sort=$4&order=$5&act=$6 last;
rewrite ^/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(([a-zA-Z])+([^-]*))(.*)\.html /brand.php?id=$1&cat=$2&page=$3&act=$4 last;
rewrite ^/brand-([0-9]+)-c([0-9]+)-(([a-zA-Z])+([^-]*))(.*)\.html /brand.php?id=$1&cat=$2&act=$3 last;
rewrite ^/brand-([0-9]+)-(([a-zA-Z])+([^-]*))(.*)\.html /brand.php?id=$1&act=$2 last;
rewrite ^/tag-(.*)\.html /search.php?keywords=$1 last;
rewrite ^/snatch-([0-9]+).html$ /snatch.php?id=$1 last;
rewrite ^/group_buy-([0-9]+).html$ /group_buy.php?act=view&id=$1 last;
rewrite ^/auction-([0-9]+).html$ /auction.php?act=view&id=$1 last;
rewrite ^/exchange-id([0-9]+)(.*).html$ /exchange.php?id=$1&act=view last;
rewrite ^/exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /exchange.php?cat_id=$1&integral_min=$2&integral_max=$3&page=$4&sort=$5&order=$6 last;
rewrite ^/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /exchange.php?cat_id=$1&page=$2&sort=$3&order=$4 last;
rewrite ^/exchange-([0-9]+)-([0-9]+)(.*).html$ /exchange.php?cat_id=$1&page=$2 last;
rewrite ^/exchange-([0-9]+)(.*).html$ /exchange.php?cat_id=$1 last;
rewrite ^/merchants_store-([0-9]+)-c([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /merchants_store.php?merchant_id=$1&id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 last;
rewrite ^/merchants_store-([0-9]+)-c([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*).html$ /merchants_store.php?merchant_id=$1&id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6 last;
rewrite ^/merchants_store-([0-9]+)-c([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /merchants_store.php?merchant_id=$1&id=$2&brand=$3&page=$4&sort=$5&order=$6 last;
rewrite ^/merchants_store-([0-9]+)-c([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*).html$ /merchants_store.php?merchant_id=$1&id=$2&price_min=$3&price_max=$4&filter_attr=$5 last;
rewrite ^/merchants_store-([0-9]+)-c([0-9]+)-b([0-9]+)-([0-9]+)(.*).html$ /merchants_store.php?merchant_id=$1&id=$2&brand=$3&page=$4 last;
rewrite ^/merchants_store-([0-9]+)-c([0-9]+)-b([0-9]+)(.*).html$ /merchants_store.php?merchant_id=$1&id=$2&brand=$3 last;
rewrite ^/merchants_store-([0-9]+)-c([0-9]+)(.*).html$ /merchants_store.php?merchant_id=$1&id=$2 last;
rewrite ^/merchants_store-([0-9]+)(.*).html$ /merchants_store.php?merchant_id=$1 last;
rewrite ^/merchants_store_shop-([0-9]+)-merchant_id([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /merchants_store_shop.php?id=$1&merchant_id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 last;
rewrite ^/merchants_store_shop-([0-9]+)-merchant_id([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*).html$ /merchants_store_shop.php?id=$1&merchant_id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6 last;
rewrite ^/merchants_store_shop-([0-9]+)-merchant_id([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /merchants_store_shop.php?id=$1&merchant_id=$2&brand=$3&page=$4&sort=$5&order=$6 last;
rewrite ^/merchants_store_shop-([0-9]+)-merchant_id([0-9]+)-b([0-9]+)-([0-9]+)(.*).html$ /merchants_store_shop.php?id=$1&merchant_id=$2&brand=$3&page=$4 last;
rewrite ^/merchants_store_shop-([0-9]+)-merchant_id([0-9]+)-b([0-9]+)(.*).html$ /merchants_store_shop.php?id=$1&merchant_id=$2&brand=$3 last;
rewrite ^/merchants_store_shop-([0-9]+)(.*).html$ /merchants_store_shop.php?id=$1 last;
rewrite ^/gift_gard-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /gift_gard.php?id=$1&page=$2&sort=$3&order=$4 last;
rewrite ^/gift_gard-([0-9]+)-([0-9]+)(.*).html$ /gift_gard.php?id=$1&page=$2 last;
rewrite ^/gift_gard-([0-9]+)(.*).html$ /gift_gard.php?id=$1 last;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/repos-fork/lmshop_kj.git
git@gitee.com:repos-fork/lmshop_kj.git
repos-fork
lmshop_kj
lmshop_kj
master

搜索帮助