homeland-docker icon indicating copy to clipboard operation
homeland-docker copied to clipboard

HTTP/2 无效问题

Open W3INFO opened this issue 8 years ago • 8 comments

采用docker部署,放置SSL证书后,使用GOOGLE的一个插件测试发现仍然使用的是HTTP/1,我怀疑是DOCKER镜像中的nginx配置有问题,不知开发者是否测试过

W3INFO avatar Dec 19 '16 06:12 W3INFO

现在 Docker Image 里面的 Nginx 是 apt-get 安装的 Nginx 官方打包的,貌似还有问题

https://alex.bouma.me/recompile-nginx-with-openssl-1-0-2-for-http-2-via-alpn-ubuntu-14-04

huacnlee avatar Dec 22 '16 09:12 huacnlee

按照官方的方法手动编译一下已解决,请问一下,docker模式下,如何快速备份数据与恢复数据了 @huacnlee

XedGo avatar Dec 22 '16 09:12 XedGo

@XedGo 数据文件都在 homeland-docker/data 目录下面

Ruby China 现在是用 Backup + Crontab 来定期备份的

huacnlee avatar Dec 22 '16 09:12 huacnlee

@huacnlee 比较愚钝,我将data目录下数据打包好以后,然后全新安装了homeeland,再将data数据放进去,然后make update,报错,可能我的方法是错误的,请指导

XedGo avatar Dec 22 '16 10:12 XedGo

要停掉服务才能拷贝 data 目录的

XedGo [email protected]于2016年12月22日 周四下午6:11写道:

@huacnlee https://github.com/huacnlee 比较愚钝,我将data目录下数据打包好以后,然后全新安装了homeeland,再将data数据放进去,然后make start,报错,可能我的方法是错误的,请指导

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ruby-china/homeland-docker/issues/12#issuecomment-268766552, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAVjuOJlCG7-Q-4lPTXA9mVAgudDg-Iks5rKkzUgaJpZM4LQZ83 .

huacnlee avatar Dec 22 '16 10:12 huacnlee

@huacnlee 感谢 已经解决!

XedGo avatar Dec 22 '16 10:12 XedGo

哇!真勤快,又更新了,不过我比较在意的是这个BUG有没有被修复~~~ @huacnlee

RTO-Login avatar Dec 23 '16 07:12 RTO-Login

不要在意 HTTP/2 其实意义不大的

huacnlee avatar Dec 23 '16 07:12 huacnlee