Hypertext Transfer Protocol Version 2 (HTTP/2) is the most recent rendition of the HTTP convention, distributed as an IETF standard in RFC 7540 out of 2015. The focal point of the convention is on execution; explicitly, end-client saw dormancy, system and server asset use. One significant objective is to permit the utilization of a solitary association from programs to a Web website. The convention is in reverse good, so HTTP techniques, status codes, and semantics are equivalent to for past adaptations of the convention. Apache has HTTP/2 help since adaptation 2.4.17. Right now, going to expect that you as of now have a working TLS arrangement, and that you have required Apache variant introduced on your Linux conveyance of decision, and that you realize how to utilize Let’s Encrypt, or you realize how to give a self-marked endorsement.
In this post, We will enable HTTP/2 protocol on Apache, Apache Web Server should be installed on the ubuntu.
Install Apache SSL Module
$ sudo a2enmod ssl
Install Apache HTTP/2 Module
$ sudo a2enmod http2
Protocols h2 http/1.1
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
$ apache2ctl configtest
$ sudo systemctl reload apache2
curl -I https://localhost