This commit is contained in:
2017-12-02 16:17:25 +08:00
parent 35e6fa140e
commit a34539ef16
194 changed files with 6976 additions and 0 deletions

38
conf/application.xml Normal file
View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<application port="5002">
<!-- 详细配置说明见: http://redkale.org/redkale.html#redkale_confxml -->
<resources>
</resources>
<server protocol="HTTP" host="0.0.0.0" port="6060" 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>
<!--<response>
<defcookie domain="" path=""/>
<addheader name="Access-Control-Allow-Origin" value="request.headers.Origin" />
<setheader name="Access-Control-Allow-Headers" value="request.headers.Access-Control-Request-Headers"/>
<setheader name="Access-Control-Allow-Credentials" value="true"/>
<options auto="true" />
</response>-->
</server>
</application>