Files
fastweb/config.ini
xx 6128e2064b 项目配置更新
增加debug参数

更新三方库

稳定性优化

增加模块:http客户端、编解码、sqlserver客户端、时间、锁
2024-05-27 20:50:57 +08:00

47 lines
1.2 KiB
INI
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[variable]
base=D:/project/fastweb
[scripts]
; 应用目录(可执行脚本)
; 考虑安全性,请勿放置于网站静态文件目录
app_dir=${base}/scripts/app
; LUA库目录
lib_dir=${base}/scripts/lib
; LUA虚拟机缓存数量(并发越高越大)-建议10
lua_cache_size=3000
; 脚本映射网站目录
; 例如 D:/root/scripts/app/regist.lua 是脚本路径app_mapping_dir设置的是/scripts浏览器访问地址http://127.0.0.1/scripts/regist.lua
; 注意:必须/结尾
app_mapping_dir=/scripts/
; 自动检测文件修改时间(秒)
auto_update_sec=3
[website]
; 网站静态文件目录
static_dir=${base}/www
; 默认页面-404
default_404=page/404.html
; 默认首页(index.html,index.htm,index.lua)
default_index=index.html
; SESSION保存目录
session_dir=${base}/session
; SESSION默认过期时间
session_timeout_sec=86400
; 初始化加载脚本(网站程序启动)
Initialization_script=${base}/scripts/init.lua
; 拦截器
interceptor_scripts= [["${base}/scripts/interceptor.lua","/scripts/*.*"]]
; 调试模式,开启后控制台输出异常错误信息 (0=关闭 1=开启)
debug=1
[server]
; TCP服务监听地址
address=0.0.0.0
; TCP服务监听端口
; 启用SSL443
; 不启用SSL80或其它
port=8888