Allow binding HTTP server to specific address (#831)

Improves security when running with placeholder keys. Only allowing
access from loopback by default.
This commit is contained in:
David Zhao
2022-07-13 23:58:33 -07:00
committed by GitHub
parent af93954c26
commit a2bf32797b
5 changed files with 78 additions and 40 deletions
+1
View File
@@ -42,6 +42,7 @@ require (
github.com/urfave/negroni v1.0.0
go.uber.org/atomic v1.9.0
go.uber.org/zap v1.21.0
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
google.golang.org/protobuf v1.27.1
gopkg.in/yaml.v3 v3.0.0
)