Browse Source

Fixed SSH mode transfer of chain file in renew()

master
Ruel Tmeizeh - RuhNet 2 years ago
parent
commit
97d32bdc37
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      actions.go

+ 2
- 2
actions.go View File

@ -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"


Loading…
Cancel
Save