location /template/ {
rewrite ^/template/abc\.html$ /template/abc.php last;
}上面这一句可以跳转成功;
但是按下面那样写,页面显示时会布局混乱,就像找不到CSS文件一样location /template/ {
rewrite ^/template/abc/$ /template/abc.php last;
}
以目录形式跳转要怎样写???上面那样写为什么会出现布局混乱???
rewrite ^/template/abc\.html$ /template/abc.php last;
}上面这一句可以跳转成功;
但是按下面那样写,页面显示时会布局混乱,就像找不到CSS文件一样location /template/ {
rewrite ^/template/abc/$ /template/abc.php last;
}
以目录形式跳转要怎样写???上面那样写为什么会出现布局混乱???
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货