swoole / docker-swoole

🏄 Official Docker Image of Swoole
https://hub.docker.com/r/phpswoole/swoole
Apache License 2.0
526 stars 112 forks source link

Support for http2 #39

Closed oltreseba closed 1 year ago

oltreseba commented 1 year ago

It looks like http2 is not enabled in the build (https://openswoole.com/docs/modules/swoole-http-server/configuration#open_http2_protocol). Is there a way to activate it later? Could it be included in the build?

liulyn commented 1 year ago

邮件已收到 谢谢!

deminy commented 1 year ago

Hi there. HTTP2 is always enabled in the images.

docker run --rm phpswoole/swoole:4.7 php --ri swoole | grep http2
docker run --rm phpswoole/swoole:4.8 php --ri swoole | grep http2
docker run --rm phpswoole/swoole:5.0 php --ri swoole | grep http2