Skip to content
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的支持 #16

Open
Cptmacmillan2022007 opened this issue Apr 28, 2023 · 5 comments
Open

可以考虑增加http/2的支持 #16

Cptmacmillan2022007 opened this issue Apr 28, 2023 · 5 comments

Comments

@Cptmacmillan2022007
Copy link

Cptmacmillan2022007 commented Apr 28, 2023

有paas平台已经开始提供http/2的支持
有http/2的paas
koyeb、doprax
暂时只找到这些
与grpc结合可以被中转

@fscarmen2
Copy link
Owner

http2到容器caddy或nginx,反代gRPC流量入局xray?

@Cptmacmillan2022007
Copy link
Author

Cptmacmillan2022007 commented Apr 30, 2023

我看你项目用的nginx

nginx反代入grpc

比较难搞的是ssl证书

搞定证书剩下的不是问题

caddy可以自动申请证书

在docker这种paas环境下有点难

我目前就是卡在这了

@fscarmen2
Copy link
Owner

fscarmen2 commented Apr 30, 2023

现在哪吒argo的证书不知是否通用

生成 nginx 配置文件 and 自签署SSL证书

openssl genrsa -out /dashboard/nezha.key 2048

openssl req -new -subj "/CN=$DATA_DOMAIN" -key nezha.key -out /dashboard/nezha.csr

openssl x509 -req -days 36500 -in /dashboard/nezha.csr -signkey /dashboard/nezha.key -out /dashboard/nezha.pe

@Cptmacmillan2022007
Copy link
Author

可以试试看

@Cptmacmillan2022007
Copy link
Author

现在哪吒argo的证书不知是否通用

生成 nginx 配置文件 and 自签署SSL证书

openssl genrsa -out /dashboard/nezha.key 2048

openssl req -new -subj "/CN=$DATA_DOMAIN" -key nezha.key -out /dashboard/nezha.csr

openssl x509 -req -days 36500 -in /dashboard/nezha.csr -signkey /dashboard/nezha.key -out /dashboard/nezha.pe

能否在paas平台调用acme申请证书

能做到这一步http/2就稳多了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants