GTUTO
https://www.gtuto.com/http2-activation-apache2/
Export date: Tue Apr 16 16:40:30 2024 / +0000 GMT

HTTP2 activation apache2


apache2ctl -version  si < 2.4.17 il faut bricoler -> sinon on passe à la fin

****Bricolage ****

ajouter "deb http://http.debian.net/debian testing main"  dans /etc/apt/sources.list.d/testing.list

ajouter dans /etc/apt/preferences.d/testing

Package: * Pin: release a=testing Pin-Priority : 300

--> apt-cache policy apache2  ->  testing doit aparaitre en haut

apt-get install -y -t testing apache2

***********

a2enmod http2

apachectl -t

Dans /etc/apache2/conf-available/http2.conf

Protocols h2 h2c http/1.1 H2Direct on H2StreamMaxMemSize 5120000000

H2Push on H2PushPriority * after H2PushPriority text/css before H2PushPriority image/jpeg after 32 H2PushPriority image/png after 32 H2PushPriority application/javascript interleaved

SSLProtocol all -SSLv2 -SSLv3 SSLHonorCipherOrder on SSLCipherSuite 'EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA !RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS'

a2enconf http2

dans le .conf du vhost : Protocols h2 http/1.1

a2dismod mpm_itk

a2dismod mpm_prefork

a2enmod mpm_worker

apachectl -t

/etc/init.d/apache2 stop

/etc/init.d/apache2 start

test en ligne ex :ICI 1

Links:
  1. https://tools.keycdn.com/http2-test
Post date: 2017-06-12 21:42:29
Post date GMT: 2017-06-12 21:42:29

Post modified date: 2020-04-26 19:06:23
Post modified date GMT: 2020-04-26 19:06:23

Export date: Tue Apr 16 16:40:30 2024 / +0000 GMT
This page was exported from GTUTO [ https://www.gtuto.com ]
Export of Post and Page has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com