-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add KONG_CUSTOM_DOMAIN handling
- Loading branch information
Showing
6 changed files
with
36 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Configuration through environment variables | ||
|
||
This SDK can be configured via the environment variables. | ||
|
||
## Konnect domain | ||
|
||
Konnect domain can be customized via `KONG_CUSTOM_DOMAIN` environment variable. | ||
This is useful when testing against a development environment or a custom domain. | ||
This is optional and the default value is `konghq.com`. | ||
|
||
## Request and response logging | ||
|
||
Request and response logging can be enabled via: | ||
|
||
- `KONNECT_SDK_HTTP_DUMP_REQUEST`: Set to `true` to log request bodies. | ||
- `KONNECT_SDK_HTTP_DUMP_RESPONSE`: Set to `true` to log response bodies. | ||
- `KONNECT_SDK_HTTP_DUMP_RESPONSE_ERROR`: Set to `true` to log response bodies only when the response status code is an error. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters