Skip to content

Commit c2b21f4

Browse files
committed
publish v0.01
1 parent 14c9f8d commit c2b21f4

17 files changed

+70
-100016
lines changed

application/demo/wechat_test.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--
2+
-- Created by IntelliJ IDEA.
3+
-- User: Administrator
4+
-- Date: 2017/7/11
5+
-- Time: 17:03
6+
-- To change this template use File | Settings | File Templates.
7+
--
8+
local wechat = require "vendor.wechat"
9+
ngx.say("_VERSION == "..wechat._VERSION)
10+
ngx.say("_VERSION == "..wechat.index())
11+

conf/domains/api.conf

Lines changed: 0 additions & 36 deletions
This file was deleted.

conf/domains/nginx_demo.conf

Lines changed: 0 additions & 241 deletions
This file was deleted.

conf/domains/nginx_index.conf

Lines changed: 0 additions & 89 deletions
This file was deleted.

conf/domains/nginx_live.conf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ server {
1111
index chatroom.html index.htm;
1212

1313
#加载直播模板
14-
set $project_path /mnt/hgfs/Linux-Share/Lua/; # 定义项目根目录,如项目放在/home/www/
15-
set $template_root "/mnt/hgfs/Linux-Share/Lua/lua_project_v0.01/template/live";
14+
set $project_path /home/www/; # 定义项目根目录,如项目放在/home/www/
15+
set $template_root "/home/www/lua_project_v0.01/template/live";
1616

1717
#url映射
1818
location ~* "^/live/(\d+)\.html$" {
@@ -95,6 +95,4 @@ server {
9595
content_by_lua_file "${project_path}lua_project_v0.01/application/controller/test_redis.lua";
9696
}
9797

98-
99-
10098
}

0 commit comments

Comments
 (0)