POST请求反向代理

时间:2015-06-24 13:38:41

标签: tomcat reverse-proxy

首先,抱歉我的英语不好,因为我是法国人,但我有反向代理的问题。

我有一个带有Tomcat的网站,我在其上配置了HTTPS,并且他被放置在反向代理后面,以便从我的局域网外部访问我的网站。
我在我的Tomcat上放了一个过滤器来记录我的Tomcat上的所有请求。当我在局域网外发出POST请求时,我的请求的所有参数都被删除,请求失败。 问题与我的Tomcat或反向代理有关吗?

以下是我的server.xml的配置

    <Connector port="8080" maxHttpHeaderSize="15360"
           protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="443" URIEncoding="UTF-8" maxPostSize="0" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
           port="8080" protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="8443" URIEncoding="UTF-8"/>
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
     This connector uses the BIO implementation that requires the JSSE
     style configuration. When using the APR/native implementation, the
     OpenSSL style configuration is required as described in the APR/native
     documentation -->


<Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
            port="443" maxHttpHeaderSize="15360"
           maxThreads="150" minSpareThreads="25" 
           enableLookups="false" disableUploadTimeout="true"
           acceptCount="100" scheme="https" secure="true" SSLEnabled="true"
           keystoreFile="E:/.keystore" keystorePass="rootroot"
           clientAuth="false" sslProtocol="TLS" server="commodore 64"/>


<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />

0 个答案:

没有答案