mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-03-30 14:15:40 +00:00
Put [::1] into default listen addresses
This commit is contained in:
@@ -52,7 +52,7 @@ func loadConfig(path string) (*config, error) {
|
||||
}
|
||||
|
||||
if len(conf.Listen) == 0 {
|
||||
conf.Listen = []string{"127.0.0.1:8053"}
|
||||
conf.Listen = []string{"127.0.0.1:8053", "[::1]:8053"}
|
||||
}
|
||||
|
||||
if conf.Path == "" {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# HTTP listen port
|
||||
listen = [
|
||||
"127.0.0.1:8053"
|
||||
"127.0.0.1:8053",
|
||||
"[::1]:8053",
|
||||
]
|
||||
|
||||
# TLS certification file
|
||||
|
||||
Reference in New Issue
Block a user