I was looking into making my Apache 2.4.46 web server prefer HTTP2 but was unable to find any info on how to enable it with FreeBSD. At this point I'm curious if it's even possible at this time. Note: I am running HTTPS with lets encrypt certification
Asked
Active
Viewed 594 times
2 Answers
0
It's not possible, it's easy. Just edit /usr/local/etc/apache24/httpd.conf and change the line
#LoadModule http2_module libexec/apache24/mod_http2.so
to
LoadModule http2_module libexec/apache24/mod_http2.so
Then enable http/2:
echo Protocols h2 h2c http/1.1 > /usr/local/etc/apache24/Includes/http2.conf
and restart apache:
/usr/local/etc/rc.d/apache24 restart
gmelis
- 697
0
I cannot stress this enough! look at your Error logs! I found out that I was having the same issue as as The mpm module (prefork.c) is not supported by mod_http2 and that was my underlying problem
ari b
- 3