Michał
25.09.2018
09:33:23
Could anybody help me with setup HTTP/2 on FreeBSD apache 2.4 webserver?
I have a problem, I set the LoadModule on mod_http2, I added the Protocols h2 directive to Vhost, I have SSL encryption set to Vhost and I still have HTTP1 / 1 in CURL response...
curl -I --http2 --insecure https://172.16.1.105/
HTTP/1.1 200 OK
Date: Tue, 25 Sep 2018 11:24:32 GMT
Server: Apache/2.4.27 (FreeBSD) OpenSSL/1.0.1u-freebsd PHP/7.2.10
Upgrade: h2
Connection: Upgrade
X-Powered-By: PHP/7.2.10
Content-Type: text/html; charset=UTF-8
Ok, I'll answer myself. I recompiled apache with the openssl 1.0.2 library because 1.0.1 was having problems with mod_http2. Works, best regards :)