Skip to content

Commit fdd7f1a

Browse files
JackuBmaxjeffos
andauthoredMar 30, 2021
docs: update SNYK_HTTP_PROTOCOL_UPGRADE description
Co-authored-by: Jeff McLean <44034094+maxjeffos@users.noreply.github.com>
1 parent 165b4b9 commit fdd7f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎help/commands-docs/_ENVIRONMENT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ By default Snyk CLI will connect to `https://snyk.io/api/v1`.
2929
Sets API host to use for Snyk requests. Useful for on-premise instances and configuring proxies. If set with `http` protocol CLI will upgrade the requests to `https`. Unless `SNYK_HTTP_PROTOCOL_UPGRADE` is set to `0`.
3030

3131
- `SNYK_HTTP_PROTOCOL_UPGRADE`=0:
32-
If set to the value of `0` the API requests aimed at `http` URLs will not be upgraded to `https`. Useful e.g., for reverse proxies.
32+
If set to the value of `0`, API requests aimed at `http` URLs will not be upgraded to `https`. If not set, the default behavior will be to upgrade these requests from `http` to `https`. Useful e.g., for reverse proxies.
3333

3434
- `HTTPS_PROXY` and `HTTP_PROXY`:
3535
Allows you to specify a proxy to use for `https` and `http` calls. The `https` in the `HTTPS_PROXY` means that _requests using `https` protocol_ will use this proxy. The proxy itself doesn't need to use `https`.

0 commit comments

Comments
 (0)
Please sign in to comment.