From 28bb47914d9ebeaca94dc39bb0e59ebd9c89ee89 Mon Sep 17 00:00:00 2001 From: Alexandre Hamez Date: Mon, 10 Mar 2025 11:37:23 +0100 Subject: [PATCH 1/5] fix(serverless): a port is not related to the HTTP protocol --- pages/serverless-containers/concepts.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/serverless-containers/concepts.mdx b/pages/serverless-containers/concepts.mdx index d837afa273..b86d75756f 100644 --- a/pages/serverless-containers/concepts.mdx +++ b/pages/serverless-containers/concepts.mdx @@ -153,7 +153,7 @@ The port parameter specifies the network port that your container listens on for The value defined in the port parameter will then be passed to your container during the deployment inside the `PORT` environment variable. -Only one HTTP port can be exposed per Serverless Container. +Only one port can be exposed per Serverless Container. ## Privacy policy From c2f3be43c22046b825363ce1ba6323f1f7d40519 Mon Sep 17 00:00:00 2001 From: Alexandre Hamez Date: Mon, 10 Mar 2025 11:39:51 +0100 Subject: [PATCH 2/5] fix(serverless): add EOL --- pages/serverless-containers/concepts.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/serverless-containers/concepts.mdx b/pages/serverless-containers/concepts.mdx index b86d75756f..39378ac326 100644 --- a/pages/serverless-containers/concepts.mdx +++ b/pages/serverless-containers/concepts.mdx @@ -262,4 +262,4 @@ Unit used to measure the resource consumption of a container. It reflects the am ## Protocol -Serverless Containers supports **http1** (default) and **http2** (`h2c`). Use HTTP/2 if your container application is configured to listen for HTTP/2 requests, such as a **gRPC** service or a web server that uses HTTP/2 features like multiplexing, otherwise, HTTP/1 is recommended. \ No newline at end of file +Serverless Containers supports **http1** (default) and **http2** (`h2c`). Use HTTP/2 if your container application is configured to listen for HTTP/2 requests, such as a **gRPC** service or a web server that uses HTTP/2 features like multiplexing, otherwise, HTTP/1 is recommended. From 745c20574104e2dca9e20f3d500cb005656e4e77 Mon Sep 17 00:00:00 2001 From: Alexandre Hamez Date: Mon, 10 Mar 2025 11:40:10 +0100 Subject: [PATCH 3/5] fix(serverless): remove confusing sentence about different port Indeed, we don't specificy what 'different' means here: from a default value? --- pages/serverless-containers/concepts.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/serverless-containers/concepts.mdx b/pages/serverless-containers/concepts.mdx index 39378ac326..b87999147e 100644 --- a/pages/serverless-containers/concepts.mdx +++ b/pages/serverless-containers/concepts.mdx @@ -148,7 +148,7 @@ The container can then process the message and perform any required actions, suc ## Port -The port parameter specifies the network port that your container listens on for incoming requests. If your application or container is set up to listen on a different port, you must specify it using the port parameter when deploying your container to Serverless Containers. It must reflect the port configuration within your container for your service to function correctly. +The port parameter specifies the network port that your container listens on for incoming requests. It must reflect the port configuration within your container for your service to function correctly. The value defined in the port parameter will then be passed to your container during the deployment inside the `PORT` environment variable. From 35bccb9662086c8df6eecae3fb23acf1dfc74c05 Mon Sep 17 00:00:00 2001 From: Alexandre Hamez Date: Mon, 10 Mar 2025 11:46:57 +0100 Subject: [PATCH 4/5] feat(serverless): explain that containers are accessible on ports 80 and 443 from the internet --- pages/serverless-containers/concepts.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/serverless-containers/concepts.mdx b/pages/serverless-containers/concepts.mdx index b87999147e..5d9fd83de6 100644 --- a/pages/serverless-containers/concepts.mdx +++ b/pages/serverless-containers/concepts.mdx @@ -156,6 +156,10 @@ The value defined in the port parameter will then be passed to your container du Only one port can be exposed per Serverless Container. + +Your container is accessible from the internet via ports 80 and 443, regardless of the specified port. The value you set determines how the Scaleway infrastructure accesses your container. + + ## Privacy policy A container's privacy policy defines whether a container may be invoked anonymously (**public**) or only via an authentication mechanism provided by the [Scaleway API](https://www.scaleway.com/en/developers/api/serverless-containers/#authentication) (**private**). From e46c50b624c72a5bdaf9ee42d97f88d984a55ef2 Mon Sep 17 00:00:00 2001 From: Alexandre Hamez Date: Mon, 10 Mar 2025 12:00:13 +0100 Subject: [PATCH 5/5] fix(serverless): apply sugession Co-authored-by: Benedikt Rollik --- pages/serverless-containers/concepts.mdx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pages/serverless-containers/concepts.mdx b/pages/serverless-containers/concepts.mdx index 5d9fd83de6..33bd4b5f03 100644 --- a/pages/serverless-containers/concepts.mdx +++ b/pages/serverless-containers/concepts.mdx @@ -153,11 +153,8 @@ The port parameter specifies the network port that your container listens on for The value defined in the port parameter will then be passed to your container during the deployment inside the `PORT` environment variable. -Only one port can be exposed per Serverless Container. - - - -Your container is accessible from the internet via ports 80 and 443, regardless of the specified port. The value you set determines how the Scaleway infrastructure accesses your container. +- Only one port can be exposed per Serverless Container. +- Your container is accessible from the internet via ports 80 and 443, regardless of the specified port. The value you set determines how the Scaleway infrastructure accesses your container. ## Privacy policy