Apache HTTP Server - /etc/apache2/mods-available/http2.conf

Pulled directly from an unmodified installation.

Quick Actions

๐Ÿ“ฅ Download Original http2.conf

Configuration File Information

Configuration File Content

/etc/apache2/mods-available/http2.conf
31 lines
Protocols h2 h2c http/1.1

# # HTTP/2 push configuration
#
# H2Push          on
#
# # Default Priority Rule
#
# H2PushPriority * After 16
#
# # More complex ruleset:
#
# H2PushPriority  *                       after
# H2PushPriority  text/css                before
# H2PushPriority  image/jpeg              after   32
# H2PushPriority  image/png               after   32
# H2PushPriority  application/javascript  interleaved
#
# # Configure some stylesheet and script to be pushed by the webserver
#
# <FilesMatch "\.html$">
#     Header add Link "</style.css>; rel=preload; as=style"
#     Header add Link "</script.js>; rel=preload; as=script"
# </FilesMatch>
# Since mod_http2 doesn't support the mod_logio module (which provide the %O format),
# you may want to change your LogFormat directive as follow:
#
# LogFormat "%v:%p %h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
# LogFormat "%h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined
# LogFormat "%h %l %u %t \"%r\" %>s %B" common

        

Download Commands

http2.conf โ€ข

Download the 100% original unaltered configuration file pulled from Apache HTTP Server

Using wget:

wget -O http2.conf.example https://exampleconfig.com/api/v1/config/original/5bc6b4b533d920c8b677f3bb37734a0f?hint=http2.conf

Using curl:

curl https://exampleconfig.com/api/v1/config/original/5bc6b4b533d920c8b677f3bb37734a0f?hint=http2.conf > http2.conf.example

Related Configuration Files

Technical Details

File Location
/etc/apache2/mods-available/http2.conf
Platform
Linux
File Size
31 lines
Application
Apache HTTP Server
Compatible Versions
MD5 Checksum
5bc6b4b533d920c8b677f3bb37734a0f
SHA256 Checksum
2425be9c2c9ec7d3912048c16ce2e12566db476f8603f1029ffbded51f90a185