修改domain和默认页配置
This commit is contained in:
@@ -13,8 +13,8 @@ module_dir=${base}/module
|
||||
dir=${www}
|
||||
; 默认页面-404
|
||||
default_404=page/404.html
|
||||
; 默认首页(["index.html","index.htm","index.lua"])
|
||||
default_index=["index.html"]
|
||||
; 默认首页(index.html,index.htm,index.lua)
|
||||
default_index=index.html
|
||||
; SESSION保存目录
|
||||
session_dir=${base}/session
|
||||
; SESSION默认过期时间
|
||||
@@ -24,7 +24,7 @@ Initialization_script=
|
||||
; 调试模式,开启后启用LUA错误信息 (0=关闭 1=开启)
|
||||
debug=1
|
||||
; 绑定域名
|
||||
domain=["local.newobj.org","127.0.0.1"]
|
||||
domain=local.newobj.org,127.0.0.1
|
||||
; 允许请求URL的路径直接映射到网站路径中的lua。如你的站点只允许订阅绑定模式,则设置为0关闭此功能以提高安全性。
|
||||
direct_url_mapping=1
|
||||
[log]
|
||||
|
||||
Reference in New Issue
Block a user