mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
add cert
This commit is contained in:
@@ -271,6 +271,9 @@ func (s *Server) ListenAndServe(ctx context.Context, addr string) (err error) {
|
||||
"/": testURL,
|
||||
},
|
||||
})
|
||||
if s.acme != nil {
|
||||
s.acme.AddDomain(domain.Domain(hostDomain), "test-account", "test-static-file")
|
||||
}
|
||||
s.Logger.Info("Added static test mapping: %s/* -> local test file server (bypassing NetBird tunnel)", hostDomain)
|
||||
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user