Make the web UI only accessible on localhost (recommended access is through ssh tunnel)
This commit is contained in:
parent
178e126a07
commit
a6b7254a4e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Add table
Reference in a new issue