模板文件中 引入/source/xxxx.css, .js文件 /source目录是不存在的, 映射到 http://s.bjp-sp1.com
location /source/ {
proxy_pass http://s.bjp-sp1.com/;
}
隐藏入口文件 index.php
if (!-e $request_filename) {
rewrite ^/(.*) /index.php/$1 last;
}
微信扫一扫
模板文件中 引入/source/xxxx.css, .js文件 /source目录是不存在的, 映射到 http://s.bjp-sp1.com
location /source/ {
proxy_pass http://s.bjp-sp1.com/;
}
隐藏入口文件 index.php
if (!-e $request_filename) {
rewrite ^/(.*) /index.php/$1 last;
}
相关推荐