mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-11-13 00:37:52 +00:00
Put [::1] into default listen addresses
This commit is contained in:
1 parent
47df06b6e2
commit
b9c1bcaad2
4 files changed
+6
-4
No files matched your search
@@ -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