351 Star 1.1K Fork 500

开源中国 / oschina-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
server.xml 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
Winter Lau 提交于 2015-04-17 16:42 . tomcat 8 encoding
<!-- Tomcat 8 -->
<Server port="9006" shutdown="SHUTDOWN">
<Service name="Catalina">
<Executor name="tomcatThreadPool" namePrefix="HTTP-9082-exec-" prestartminSpareThreads="true"
maxThreads="1000" maxQueueSize="100" minSpareThreads="50" maxIdleTime="10000"/>
<Connector port="9082" protocol="org.apache.coyote.http11.Http11NioProtocol"
connectionTimeout="5000" redirectPort="443" proxyPort="443" executor="tomcatThreadPool" URIEncoding="ISO8859_1"/>
<!--Connector SSLEnabled="true" clientAuth="false"
disableUploadTimeout="true" enableLookups="false" maxThreads="100"
port="9442" keystoreFile="/data/oschina/webapp/WEB-INF/conf/oschina.keystore" keystorePass="oschina123"
protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https"
secure="true" sslProtocol="TLS" /-->
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps">
<Valve className="org.apache.catalina.valves.RemoteIpValve"
remoteIpHeader="x-real-ip"
proxiesHeader="x-forwarded-by"
protocolHeader="x-forwarded-proto" />
<Context docBase="/data/oschina/webapp" path=""
reloadable="false"
sessionCookiePath="/"
sessionCookieName="OSCHINA_SESSION"
useHttpOnly="true" >
<Resources allowLinking="true"></Resources>
</Context>
</Host>
</Engine>
</Service>
</Server>
Shell
1
https://gitee.com/oschina/oschina-config.git
git@gitee.com:oschina/oschina-config.git
oschina
oschina-config
oschina-config
master

搜索帮助