|
|
|
@ -222,8 +222,8 @@ func renew() error { |
|
|
|
if server == appconf.Hostname { |
|
|
|
continue |
|
|
|
} |
|
|
|
//domain_chain_location += ";ssh:" + appconf.Username + "@" + server + ":" + appconf.TLSChainFile
|
|
|
|
domain_chain_location += ";davs:leapi:" + appconf.SecretKey + ":" + server + ":" + syncPort + ":/api/file/upload/chain" |
|
|
|
domain_chain_location += ";ssh:" + appconf.Username + "@" + server + ":" + appconf.TLSChainFile |
|
|
|
//domain_chain_location += ";davs:leapi:" + appconf.SecretKey + ":" + server + ":" + syncPort + ":/api/file/upload/chain"
|
|
|
|
} |
|
|
|
} else { //file sync type is HTTPS
|
|
|
|
domain_chain_location += ";davs:" + appconf.Username + ":" + appconf.SecretKey + ":" + appconf.Hostname + ":" + appconf.HTTPS_ServerPort + ":/api/file/sync/chain" |
|
|
|
|