2026-08-16
Selecting...
Home Page
reload
Search in this channel...
Punch card
Raw Text (irssi format)
Fork on github
switch to admin mode
Jump to...
redirecting...
Log for
Ubuntu 台灣社群
pm 02:50:43
kevin
https 的证书文件可以放到github 里吗?公开库,我的是一个博客网站
pm 02:56:48
Licson Lee
不能
pm 02:57:16
kevin
哦,
pm 03:26:49
V字龍 (Vdragon)
公鑰可以,私鑰不行
pm 03:28:12
kevin
我已经打算用nginx 了,这样 golang 程序不用配置ssl 了就,证书也就不用github里放了
pm 03:28:46
V字龍 (Vdragon)
配置可以直接指到庫外的檔案吧?
pm 03:29:12
V字龍 (Vdragon)
或是直接用 .gitignore 無視掉也行
pm 03:29:47
kevin
嗯,是可以,不过麻烦。所以刚开始的时候想放到git里
pm 07:29:51
小畢 (CrBoy)
證書(cert)可以,私鑰(key)不行。如果你是 deploy 需求,cert 跟 key 都會需要有,所以放進 repo 應該不符合你的需求
created by
mmis1000
and release under
MIT License
GitHub Repo