From 1f18333e79973fb09bbc4c9367614c86b92fd10d Mon Sep 17 00:00:00 2001 From: xx Date: Thu, 13 Jun 2024 20:23:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9domain=E5=92=8C=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E9=A1=B5=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.ini b/config.ini index 1cf8157..9463958 100644 --- a/config.ini +++ b/config.ini @@ -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]