redbbs-pro/conf/application.xml
lxyer 1f79682516 社区升级
1、表字段统一小写,
   2、表模块划分
   3、表状态等字段统一smallint
   4、部分字段值重新定义
2018-06-17 20:37:12 +08:00

41 lines
1.4 KiB
XML
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.

<?xml version="1.0" encoding="UTF-8"?>
<application port="5002">
<!-- 详细配置说明见: http://redkale.org/redkale.html#redkale_confxml -->
<resources>
<source name="redis" value="org.redkalex.cache.RedisCacheSource" xxx="16">
<node addr="redishost" port="6379"/>
</source>
</resources>
<server protocol="HTTP" host="0.0.0.0" port="80" root="root">
<services autoload="true"/>
<!--<filters autoload="true"/>-->
<!--<rest path="" autoload="true"/>--> <!-- base指定的自定义HttpServlet子类必须标记@HttpUserType, 不设置base则视为没有当前用户信息设置 -->
<rest path="os" base="com.lxyer.bbs.base.BaseServlet" autoload="true">
</rest>
<servlets path="" autoload="true"/>
<resource-servlet webroot="root" index="index.html">
<cache limit="2M" lengthmax="1M" watch="false"/>
<!--<rewrite type="location" match="^/([^-]+)-[^-\.]+\.png(.*)" forward="/$1.png"/>-->
</resource-servlet>
<!--
【节点在<server>中唯一】
当Server为HTTP协议时render才有效. 指定输出引擎的实现类
value: 输出引擎的实现类, 必须是org.redkale.net.http.HttpRender的子类
-->
<render value="com.lxyer.bbs.base.EnjoyRender">
</render>
</server>
</application>