Re: How to connect Apache and Tomcat using http2 protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

2017-12-12 6:48 GMT+01:00 Ananya Dey <ananyadey.95@xxxxxxxxx>:
Hi

I am trying to connect Apache and Tomcat using HTTP2 protocol. 
1. These are the changes that I have made in my server.xml.
 <Connector port="10905" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="false" 
   sslImplementationName="org.apache.tomcat.util.net.openssl.OpenSSLImplementation">
        <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
        <SSLHostConfig>
            <Certificate certificateKeyFile="/home/ananya/tomcat_server1/apache-tomcat-8.5.23/conf/server.key"
                         certificateFile="/home/ananya/tomcat_server1/apache-tomcat-8.5.23/conf/server.crt"/>
        </SSLHostConfig>
    </Connector>
2. In my httpd.conf,
I have added 
Protocols h2 
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
LoadModule http2_module modules/mod_http2.so


But through the various tests, it is mostly concluded that it supports websocket protocol using http proxy. But not supporting http2.
Can someone please help me out??

I think that you'd need to try https://httpd.apache.org/docs/2.4/mod/mod_proxy_http2.html.

Hope that helps!

Luca 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux