提交 854dd4c1 编写于 作者: xchenhao's avatar xchenhao

add nginx conf

上级 bdb3be44
......@@ -24,5 +24,14 @@ cp vendor/bower-assert vendor/bower
# 测试用户名:weixi 密码:123456
```
```conf
# Nginx 伪静态
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
```
### 参考
- Forked from: `https://github.com/michaelweixi/blogdemo2`
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册