Initial YakPanel commit
This commit is contained in:
9
rewrite/nginx/phpcms.conf
Normal file
9
rewrite/nginx/phpcms.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
location / {
|
||||
###The following is the pseudo-static rewrite rule for PHPCMS
|
||||
rewrite ^(.*)show-([0-9]+)-([0-9]+)\.html$ $1/show.php?itemid=$2&page=$3;
|
||||
rewrite ^(.*)list-([0-9]+)-([0-9]+)\.html$ $1/list.php?catid=$2&page=$3;
|
||||
rewrite ^(.*)show-([0-9]+)\.html$ $1/show.php?specialid=$2;
|
||||
####Here are the PHPWind pseudo-static rewrite rules
|
||||
rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;
|
||||
rewrite ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2 last;
|
||||
}
|
||||
Reference in New Issue
Block a user