mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-23 15:37:26 +00:00
Make the web UI only accessible on localhost (recommended access is through ssh tunnel)
This commit is contained in:
+1
-1
@@ -736,7 +736,7 @@ func main() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
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)
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user