Skip to content

Commit 317e9f3

Browse files
Update src/content/docs/workers-vpc/api/index.mdx
Co-authored-by: Matt <[email protected]>
1 parent 235e4b8 commit 317e9f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/docs/workers-vpc/api/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ const response = await env.VPC_SERVICE_BINDING.fetch(resource, options);
3232
:::note
3333
The [VPC Service configurations](/workers-vpc/configuration/vpc-services/#vpc-service-configuration) will always be used to connect and route requests to your services in external networks, even if a different URL or host is present in the actual `fetch()` operation of the Worker code.
3434

35-
The information provided in the `fetch()` operation is not used to route requests, and instead only populates the `Host` field for a HTTP request that can be parsed by the server and used for Server Name Indication (SNI).
35+
The host provided in the `fetch()` operation is not used to route requests, and instead only populates the `Host` field for a HTTP request that can be parsed by the server and used for Server Name Indication (SNI), when the `https` scheme is specified.
36+
37+
The port provided in the `fetch()` operation is ignored — the port specified in the VPC Service configuration will be used.
3638
:::
3739

3840
### Parameters

0 commit comments

Comments
 (0)