diff options
| author | clyhtsuriva <clyhtsuriva@gmail.com> | 2020-05-07 08:47:04 +0200 |
|---|---|---|
| committer | clyhtsuriva <clyhtsuriva@gmail.com> | 2020-05-07 08:47:04 +0200 |
| commit | fdf19b48fdb7a022b8f0d6f490bf07b9a1d3bc7a (patch) | |
| tree | f5e1aacf477d4116d0c96159e476a8f423636263 /www/server-config/apache2/mods-available/http2.conf | |
| parent | 1b9db81514c6ad7c0cfd2952edc7d42f1e28e18b (diff) | |
| download | ATS-fdf19b48fdb7a022b8f0d6f490bf07b9a1d3bc7a.tar.gz ATS-fdf19b48fdb7a022b8f0d6f490bf07b9a1d3bc7a.tar.bz2 ATS-fdf19b48fdb7a022b8f0d6f490bf07b9a1d3bc7a.zip | |
ajout de SSL
Diffstat (limited to '')
| -rw-r--r-- | www/server-config/apache2/mods-available/http2.conf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/www/server-config/apache2/mods-available/http2.conf b/www/server-config/apache2/mods-available/http2.conf new file mode 100644 index 0000000..f45db4d --- /dev/null +++ b/www/server-config/apache2/mods-available/http2.conf @@ -0,0 +1,34 @@ + +# mod_http2 doesn't work with mpm_prefork +<IfModule !mpm_prefork> + 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 +</IfModule> |
