mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-10-21 13:31:18 +00:00
* Add deploy hook for nginx proxy manager and npmplus Signed-off-by: invario <67800603+invario@users.noreply.github.com> * rename to nginx-proxy-manager use _post instead of raw curl support both npmplus and nginx API create certificate if it doesn't already exist json_encode values evaluate and report server return code Signed-off-by: invario <67800603+invario@users.noreply.github.com> * - removed jq dependency, replaced with _egrep_o - fix _secure_debug output for _npm_token - remove newline from _npm_certname_json - remove unused variables - escape backslashes in passwords - unset _H1 before returning - tested on nginx proxy manager (image jc21/nginx-proxy-manager:latest) - tested on NPMplus (image zoeyvid/npmplus:2026-07-24-r1) Signed-off-by: invario <67800603+invario@users.noreply.github.com> * add "requiresTotp" check for 2FA enablement (npmplus:develop branch) Signed-off-by: invario <67800603+invario@users.noreply.github.com> * remove api/schema detection and infer API based on token location Signed-off-by: invario <67800603+invario@users.noreply.github.com> * replaced `[[:space:]]` evaluate `requires_2fa` and `requires_Totp` separately unset `_H1` on additional return for failure prefix `nl` `_boundary` `_payload` add `_npm_payload_format` to strip backslashes, encode for JSON, and remove newlines Signed-off-by: invario <67800603+invario@users.noreply.github.com> * remove backslash handling from _npm_payload_format use _utc_date instead of date Signed-off-by: invario <67800603+invario@users.noreply.github.com> --------- Signed-off-by: invario <67800603+invario@users.noreply.github.com>