2 # mod_http2 doesn't work with mpm_prefork
3 <IfModule !mpm_prefork>
4 Protocols h2 h2c http/1.1
6 # # HTTP/2 push configuration
10 # # Default Priority Rule
12 # H2PushPriority * After 16
14 # # More complex ruleset:
16 # H2PushPriority * after
17 # H2PushPriority text/css before
18 # H2PushPriority image/jpeg after 32
19 # H2PushPriority image/png after 32
20 # H2PushPriority application/javascript interleaved
22 # # Configure some stylesheet and script to be pushed by the webserver
24 # <FilesMatch "\.html$">
25 # Header add Link "</style.css>; rel=preload; as=style"
26 # Header add Link "</script.js>; rel=preload; as=script"
28 # Since mod_http2 doesn't support the mod_logio module (which provide the %O format),
29 # you may want to change your LogFormat directive as follow:
31 # LogFormat "%v:%p %h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
32 # LogFormat "%h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined
33 # LogFormat "%h %l %u %t \"%r\" %>s %B" common