We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
var err error if gcfg.Key != "" && gcfg.Cert != "" { err = srv.ListenAndServeTLS(gcfg.Cert, gcfg.Key) } else { err = srv.ListenAndServe() } 看大佬写了但是 实际没有去用上面的证书相关代码,可否使用环境变量去控制赋值或者指定路径读取如果失败再走http,这样docker 可以直接映射进去,就方便很多了。
var err error if gcfg.Key != "" && gcfg.Cert != "" { err = srv.ListenAndServeTLS(gcfg.Cert, gcfg.Key) } else { err = srv.ListenAndServe() }
The text was updated successfully, but these errors were encountered:
Docker可以封装一个shell脚本
Sorry, something went wrong.
No branches or pull requests
var err error if gcfg.Key != "" && gcfg.Cert != "" { err = srv.ListenAndServeTLS(gcfg.Cert, gcfg.Key) } else { err = srv.ListenAndServe() }
看大佬写了但是 实际没有去用上面的证书相关代码,可否使用环境变量去控制赋值或者指定路径读取如果失败再走http,这样docker 可以直接映射进去,就方便很多了。
The text was updated successfully, but these errors were encountered: