Add ssh outbound

This commit is contained in:
世界
2022-08-21 19:36:08 +08:00
parent c71f6ba377
commit dc6bb7ab1b
12 changed files with 319 additions and 5 deletions

View File

@@ -133,7 +133,7 @@ func NewTLSConfig(ctx context.Context, logger log.Logger, options option.Inbound
var acmeService adapter.Service
var err error
if options.ACME != nil && len(options.ACME.Domain) > 0 {
tlsConfig, acmeService, err = startACME(ctx, logger, common.PtrValueOrDefault(options.ACME))
tlsConfig, acmeService, err = startACME(ctx, common.PtrValueOrDefault(options.ACME))
if err != nil {
return nil, err
}