From 64341e380613a38a08372aa04ad7b17f951f7a1b Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Mon, 11 Dec 2023 22:52:32 +0100 Subject: [PATCH] docs: reference subdomain specs --- docs/commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/commands.md b/docs/commands.md index e6c203a81..1ac09c4a7 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -53,8 +53,8 @@ This input should be used sparingly and with caution, as it involves interacting #### Subdomain Testing and `subdomain-url` -The `subdomain-url` parameter is utilized when testing subdomain support in your IPFS gateway. It can be set to any domain that your gateway safelisted for Subdomain feature. -During testing, the suite sends HTTP requests to the `gateway-url` while setting HTTP `Host` header to simulate Subdomain requests. +The `subdomain-url` parameter is utilized when testing subdomain support in your IPFS gateway. It can be set to any domain that your gateway dedicated and safelisted for [Subdomain gateway](https://specs.ipfs.tech/http-gateways/subdomain-gateway/) feature. +During testing, the suite sends HTTP requests to the `gateway-url` while setting HTTP `Host` header value to be based on the parent domain name from `subdomain-url` to simulate Subdomain requests. This approach enables testing of local gateways during development or continuous integration (CI) scenarios. A few examples: