Finally I was able to run my wordpress docker setup with http v2. I would have expected this task to be an easy one but it was not.
Let’s start, first, http2 needs SSL, that was the easy part, I got my SSL certificate, I enabled SSL module in apache, I defined paths for my SSL certificate and my private key of course. Then I enabled http2 module in apache but then problems started here. It turns out that http2 module throws an error because it did not like the mpm_prefork module. Ok, that is easy, I disabled the mpm_prefork module and enabled mpm_event module, but now this module complains that it needs php compiled for multithread support, not sure what to do here I found that for this situation is better to use php with fpm support… Long story short, I was able to find an unofficial docker image. Read this post:
Now this site is hosted in my laptop using docker!.
Time to restore my old blog!