From 9582195556118b16babcb7505eeb8616d998cc73 Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 3 Sep 2021 21:38:55 +0800 Subject: [PATCH] Updated deployhooks (markdown) --- deployhooks.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deployhooks.md b/deployhooks.md index cce90488..b493e25f 100644 --- a/deployhooks.md +++ b/deployhooks.md @@ -29,6 +29,14 @@ Currently supports Kong-v0.10.x. acme.sh --deploy -d ftp.example.com --deploy-hook kong ``` +It deploys to `"http://localhost:8001"` by default, you can specify the kong url to deploy: + +``` +export KONG_URL="http://you.kong.url:port" +acme.sh --deploy -d ftp.example.com --deploy-hook kong +``` + + ## 3. Deploy the cert to remote server through SSH access The ssh deploy plugin allows you to deploy certificates to a remote host