Http2 Apache2



The Apache HTTP Server is the top choice of users looking for an easy-to-use yet powerful Web server on Softpedia as well as worldwide. Started back in 1995, the project has quickly escalated into. Apache Traffic Server™ software is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server. Formerly a commercial product, Yahoo! Donated it to the Apache Foundation, and currently used by several major CDNs and content owners.

Http2 Apache2

Apache 2.4.12 supports HTTP/2 via the module modh2, although appropriate patches must be applied to the source code of the server in order for it to support that module. As of Apache 2.4.17 all patches are included in the main Apache source tree, although the module itself was renamed modhttp2. HTTP Strict Transport Security (often abbreviated as HSTS) is a security feature that lets a web site tell browsers that it should only be communicated with using HTTPS, instead of using HTTP. This tutorial will show you how to set up HSTS in Apache2, NGINX and Lighttpd.

Apache 2.4.17 ships with mod_http2. Available in Debian 9 (stretch) and Ubuntu 16.04 (Xenial Xerus) (see comments) Ubuntu 16.10 (Yakkety Yak), it brings HTTP/2 support to one of the Internet’s popular Web servers. Assuming you’ve already configured a SSL/TLS Website, this quick tutorial will show you how to quickly enable HTTP/2.

Apache2 Ssl Configuration

Apache2Apache2

Apache2 Http2 Module

Based on mod_h2, the module is still very experimental. It should be enabled manually, on a site-by-site basis, via the Protocols directive. The module’s defaults otherwise don’t need to be changed.

First, enable the module:

In the <VirtualHost> stanzas for your Website served over TLS in your Apache configuration, add the Protocols directive:

Restart Apache:

Http2 Apache2

If you’ve curl 7.34.0 or later, you can test whether HTTP/2 is working by running:

and look for mentions of “http2”.

Apache2 Http2 Enable

While you’re fiddling with your Web server configuration, consider updating your SSL settings with Mozilla’s great SSL configuration generator.