nginx_ssl_tomcat配置

<Connector port="8090" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="443" scheme="https"
proxyName="ca.server.com"
proxyPort="443"/>

====================================================

<Host name="ca.server.com" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="${catalina.base}/webapps/WoSignCA"/>
<!-- 这里非常重要 -->
<Valve className="org.apache.catalina.valves.RemoteIpValve"
remoteIpHeader="X-Forwarded-For"
protocolHeader="X-Forwarded-Proto"
protocolHeaderHttpsValue="https"/>

</Host>

上一篇:work_queue 函数调用栈


下一篇:Fiddler中session请求/响应类型与图标含义