From fab6010aa88478c4e92beec499c571fd3624bb6e Mon Sep 17 00:00:00 2001 From: unkn0wn-root Date: Mon, 23 Dec 2024 20:55:02 +0100 Subject: [PATCH] chore(server): admin api insecure flag --- internal/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/server.go b/internal/server/server.go index 1f98371..e52c8a3 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -283,7 +283,7 @@ func (s *Server) startAdminServer() error { cert = &c } - } else if !s.apiConfig.Insecure { + } else if !s.apiConfig.AdminAPI.Insecure { return errors.New( "TLS not configured and Insecure mode is disabled. If you want to run api on HTTP, set 'insecure' to true", )