Files
acme.sh/deploy
invario 2f8a5535dc Add deploy hook for nginx proxy manager and NPM plus (#7267)
* 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>
2026-10-09 17:20:39 +02:00
..
2026-07-17 12:38:14 +08:00
2024-04-07 12:36:19 +00:00
2021-03-30 09:18:33 +02:00
2021-05-07 12:12:30 +02:00
2017-02-19 20:40:53 +08:00
2024-04-07 12:36:19 +00:00
2024-10-13 17:41:22 +02:00
2022-11-23 21:33:29 +08:00
2026-09-04 15:27:35 +08:00
2026-09-19 15:43:23 +02:00
2018-03-22 13:45:43 -04:00
2025-10-21 11:34:46 +02:00
2021-09-04 16:59:50 +08:00
2026-09-04 15:27:35 +08:00
exe
2017-02-05 23:14:25 +08:00
2017-02-19 20:40:53 +08:00
2024-04-07 12:36:19 +00:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
2021-01-13 20:37:05 +00:00
2017-02-19 20:40:53 +08:00
2020-01-30 12:06:39 +08:00
2026-06-19 14:23:03 +02:00
2025-12-19 18:12:45 +03:00
2026-09-11 11:55:38 +08:00
2024-12-31 18:04:39 +01:00
2025-11-08 16:59:10 -05:00
2022-12-28 02:47:49 +08:00
2025-04-18 00:25:10 +02:00
2024-10-13 17:41:22 +02:00