You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
acme.sh/deploy
Brian Hartvigsen d15c14ab93
Fix support for wget
I'm actually not entirely sure why/how this worked with curl but not wget, but it did.  The short answer is that using a GET does not result in the HTTP_HEADER file being written, instead you must pass in the http_headers param ($2) which will return the HTTP headers as a string.  Luckily, the Token is in both the body and the header.  We need it and the id (and smid if 2fa) cookie to proceed.  So now we parrse the response for that instead of the HTTP_HEADER file.

Interesting side note: wget is fine if the URL contains a \r or \n, but curl will barf on it.  So we need to make sure those are stripped from the token as it will be passed in the URL later.
5 years ago
..
README.md update repo name 5 years ago
apache.sh deploy apache script: fix comment (dovecot/apache) 8 years ago
cpanel_uapi.sh fix warning 7 years ago
docker.sh update repo name 5 years ago
dovecot.sh fix format 8 years ago
exim4.sh spelling: oops 8 years ago
fritzbox.sh use perl instead of iconv, if iconv is not available 7 years ago
gcore_cdn.sh fixed json parse regex for support api gcore_cdn 5 years ago
gitlab.sh Fix Syntax 7 years ago
haproxy.sh fix haproxy deploy hook ocsp update 5 years ago
keychain.sh Remove template text 7 years ago
kong.sh Update the notes 8 years ago
mailcow.sh Fix formatting 6 years ago
myapi.sh exe 8 years ago
mydevil.sh Support for MyDevil.net (#2076) 6 years ago
mysqld.sh fix format 8 years ago
nginx.sh fix format 8 years ago
opensshd.sh fix format 8 years ago
panos.sh fix(deploy/panos): data format improvements 5 years ago
pureftpd.sh fix format 8 years ago
qiniu.sh enable qiniu to deploy more than one domain 5 years ago
routeros.sh Added trailing slash to end of each line of DEPLOY_SCRIPT_CMD 5 years ago
ssh.sh Make remote backup directory path user configurable. 5 years ago
strongswan.sh Add support for strongSwan deploys in FreeBSD 7 years ago
synology_dsm.sh Fix support for wget 5 years ago
unifi.sh Add deployment script for unifi controller 8 years ago
vault_cli.sh Remove trailing spaces in text files 5 years ago
vsftpd.sh spelling: oops 8 years ago

README.md