Resin服务器配置文件resin.conf

本文探讨Resin服务器配置文件resin.conf中的关键设置,包括依赖检查间隔、浏览器断开连接时的异常处理及日志记录等功能。对于企业级应用系统的稳定运行提供了实用建议。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

最近,由于工作需要。开始涉及到另一类的服务器Resin.

仔细观察resin.conf配置文件,不难发现。有些地方,值得让你回味


<!--
- For production sites, change dependency-check-interval to something
- like 600s, so it only checks for updates every 10 minutes.
-->
<dependency-check-interval>2s</dependency-check-interval>

请注意在注释中提到,因为做为商业化的企业信息系统应用
<dependency-check-interval>600s</dependency-check-interval>
应该不为错吧。


<!--
- Enables/disables exceptions when the browser closes a connection.
-->
<ignore-client-disconnect>true</ignore-client-disconnect>

这里的true或者false值得注意


<!--
- With another web server, like Apache, this can be commented out
- because the web server will log this information.
-->
<access-log path="logs/access.log"
format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
rollover-period="1W"/>


系统自动产生的日志功能

将会自动生成logs文件夹,以及access.log文件

关于session的生命周期如何配置,目前暂不公开发表?//
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值