From 0faec68c65202754352faceab77383455bee817b Mon Sep 17 00:00:00 2001 From: Carmen Popoviciu Date: Mon, 21 Jul 2025 15:37:29 +0200 Subject: [PATCH 1/3] [wrangler] Document missing environment variables Document `WRANGLER_HTTPS_KEY_PATH` and `WRANGLER_HTTPS_CERT_PATH` environment variables. --- .../workers/wrangler/system-environment-variables.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/content/docs/workers/wrangler/system-environment-variables.mdx b/src/content/docs/workers/wrangler/system-environment-variables.mdx index 20fd96bd1312aa9..54a2f043281e941 100644 --- a/src/content/docs/workers/wrangler/system-environment-variables.mdx +++ b/src/content/docs/workers/wrangler/system-environment-variables.mdx @@ -72,6 +72,14 @@ Wrangler supports the following environment variables: * Defaults to `unix:///var/run/docker.sock`. Set this to the socket path your container engine is listening at if you are using another container tool besides Docker, such as `colima`, or if your Docker engine is configured to listen at a path other than `unix:///var/run/docker.sock`. You can also set this via `container_engine` config option. +* `WRANGLER_HTTPS_KEY_PATH` + + * Path to a custom certificate key. + +* `WRANGLER_HTTPS_CERT_PATH` + + * Path to a custom certificate. + ## Example `.env` file From f698912d64f9598f52c488dad67fcbe4411d88a9 Mon Sep 17 00:00:00 2001 From: Carmen Popoviciu Date: Mon, 21 Jul 2025 15:43:46 +0200 Subject: [PATCH 2/3] Update src/content/docs/workers/wrangler/system-environment-variables.mdx Co-authored-by: Pete Bacon Darwin --- .../docs/workers/wrangler/system-environment-variables.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/workers/wrangler/system-environment-variables.mdx b/src/content/docs/workers/wrangler/system-environment-variables.mdx index 54a2f043281e941..f471504d63b2b80 100644 --- a/src/content/docs/workers/wrangler/system-environment-variables.mdx +++ b/src/content/docs/workers/wrangler/system-environment-variables.mdx @@ -74,7 +74,7 @@ Wrangler supports the following environment variables: * `WRANGLER_HTTPS_KEY_PATH` - * Path to a custom certificate key. + * Path to a custom HTTPS certificate key when running `wrangler dev`, to be used with `WRANGLER_HTTPS_CERT_PATH`. * `WRANGLER_HTTPS_CERT_PATH` From a3cdd2fca038585a5193a2f0b3f3a0d672a302e0 Mon Sep 17 00:00:00 2001 From: Carmen Popoviciu Date: Mon, 21 Jul 2025 15:43:53 +0200 Subject: [PATCH 3/3] Update src/content/docs/workers/wrangler/system-environment-variables.mdx Co-authored-by: Pete Bacon Darwin --- .../docs/workers/wrangler/system-environment-variables.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/workers/wrangler/system-environment-variables.mdx b/src/content/docs/workers/wrangler/system-environment-variables.mdx index f471504d63b2b80..670f35b46afc143 100644 --- a/src/content/docs/workers/wrangler/system-environment-variables.mdx +++ b/src/content/docs/workers/wrangler/system-environment-variables.mdx @@ -78,7 +78,7 @@ Wrangler supports the following environment variables: * `WRANGLER_HTTPS_CERT_PATH` - * Path to a custom certificate. + * Path to a custom HTTPS certificate when running `wrangler dev`, to be used with `WRANGLER_HTTPS_KEY_PATH`.