add alternative port for _acme-challenge
This commit is contained in:
parent
2b23be6f74
commit
a288e99bda
@ -32,6 +32,7 @@ var (
|
||||
listenAddr, networksconf string
|
||||
meshipNetworksconf string
|
||||
getName, getIP string
|
||||
acmePort string
|
||||
debug, noMeshIP bool
|
||||
)
|
||||
|
||||
@ -42,6 +43,7 @@ func init() {
|
||||
flag.BoolVar(&noMeshIP, "nomeship", false, "disable .meship resolver")
|
||||
flag.StringVar(&getName, "getname", "", "convert IPv6 address to a name")
|
||||
flag.StringVar(&getIP, "getip", "", "convert a name to IPv6 address")
|
||||
flag.StringVar(&acmePort, "acmeport", "53536", "try alternative port for acme challenges")
|
||||
flag.BoolVar(&debug, "debug", false, "enable debug logging")
|
||||
}
|
||||
|
||||
@ -80,7 +82,7 @@ func main() {
|
||||
logger.Fatalln(err)
|
||||
}
|
||||
|
||||
s := meshname.New(logger, listenAddr, networks, meshipNetworks, !noMeshIP)
|
||||
s := meshname.New(logger, listenAddr, networks, meshipNetworks, !noMeshIP, acmePort)
|
||||
|
||||
if err := s.Start(); err != nil {
|
||||
logger.Fatal(err)
|
||||
|
Loading…
Reference in New Issue
Block a user