New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持 HTTP/2 #31
Comments
已增加 HTTP/2 自动安装脚本 项目根目录下 运行 sh https.sh example.com www.example.com 来自动部署https,小伙伴们可以反馈一下问题,进行完善 |
貌似 CentOS 的
|
在自动化脚本里 我们也考虑到了 这一点 并不是所有得机器都是Linux 。/etc/ssl/openssl.cnf 路径不存在的话 会让用户手动输入openssl.cnf的路径 |
我在项目根目录下运行
后,成功了。但是,再次启动服务nginx,报这样的错:
是因为我事先没有安装证书吗,之前在apache的环境下有装,后来切换到nginx,试问证书需要重装吗? |
@Beace 你这可能是 nginx.conf 文件中证书文件地址替换失败了,你先手动修改一下看看是否能够成功。 |
希望吧设置https的方法写进安装教程! |
|
执行了https.sh脚本,然后修改了nginx.conf配置文件,再nginx -t查错,最后出现这个。 |
ssl证书: |
|
@golmic 你看看nginx配置文件里关于ssl证书的路径。 |
@golmic 你新建一个试试呗,我也不记得自己是否遇到过你这种情况,不行就换个方法。 |
这个是 nginx端做支持,跟博客系统没有关系吧。 |
增加支持 HTTP/2 的安装脚本
The text was updated successfully, but these errors were encountered: