mirror of https://github.com/docker/docs.git
Make the web UI only accessible on localhost (recommended access is through ssh tunnel)
This commit is contained in:
parent
178e126a07
commit
a6b7254a4e
|
@ -736,7 +736,7 @@ func main() {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
go func() {
|
go func() {
|
||||||
if err := rcli.ListenAndServeHTTP(":8080", d); err != nil {
|
if err := rcli.ListenAndServeHTTP("127.0.0.1:8080", d); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue