From 0dee4f9cc62232a961d42cced2da8ba7cf527380 Mon Sep 17 00:00:00 2001 From: Qiufang Zhang <904208360@qq.com> Date: Thu, 10 Nov 2016 10:05:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0url=E9=87=8D=E5=86=99?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加url重写配置说明 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3f1cd48..e760454 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,12 @@ 7.基于yac、yaconf提供共享数据、配置服务 8.基于zqf提供高并发计数器、红包、二维码服务 9.很好的支持网页版console的shell服务 +###Nginx 下配置文件示例 + location / { + if (!-e $request_filename) { + rewrite ^/(.*)$ /index.php?$1 last; + } + } ###服务启动 需要php以cli模式运行/server/server.php php server.php start