king71 发表于 2017-2-20 07:42:25

Resin服务器配置文件resin.conf

最近,由于工作需要。开始涉及到另一类的服务器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的生命周期如何配置,目前暂不公开发表?//
页: [1]
查看完整版本: Resin服务器配置文件resin.conf