diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 19:09:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 19:09:23 +0000 |
commit | 1b631c75a166e0258aad972d74af929b7968ea66 (patch) | |
tree | b5735fd08977a7f74bb1753a6952caeeb1fb73f6 /debian/config-dir/mods-available/http2.conf | |
parent | Adding upstream version 2.4.58. (diff) | |
download | apache2-1b631c75a166e0258aad972d74af929b7968ea66.tar.xz apache2-1b631c75a166e0258aad972d74af929b7968ea66.zip |
Adding debian version 2.4.58-1.debian/2.4.58-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/config-dir/mods-available/http2.conf')
-rw-r--r-- | debian/config-dir/mods-available/http2.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/config-dir/mods-available/http2.conf b/debian/config-dir/mods-available/http2.conf new file mode 100644 index 0000000..612baa5 --- /dev/null +++ b/debian/config-dir/mods-available/http2.conf @@ -0,0 +1,30 @@ +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 |