mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26: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,
|
"/": 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)
|
s.Logger.Info("Added static test mapping: %s/* -> local test file server (bypassing NetBird tunnel)", hostDomain)
|
||||||
|
|
||||||
select {
|
select {
|
||||||
|
|||||||
Reference in New Issue
Block a user