Skip to content

Commit 0e6fbc4

Browse files
Make heading shorter and adjust to Style Guide cURL templates
1 parent 9ed831e commit 0e6fbc4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/content/docs/byoip/address-maps/setup.mdx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,16 @@ Setting up a default SNI is currently only supported via API.
5959
3. Make sure you add the desired IPs to the address map. Cloudflare will respond with the default SNI on those IPs. Use the dashboard or refer to [Add An IP To An Address Map](/api/resources/addressing/subresources/address_maps/subresources/ips/methods/update/).
6060
4. Configure the `default_sni` value on the address map created in step 1. Refer to the [Update Address Map](/api/resources/addressing/subresources/address_maps/methods/edit/) API endpoint for details. The default SNI can be any valid domain or subdomain owned by your account.
6161

62-
## Non-SNI support for Spectrum HTTPS applications
62+
### Spectrum HTTPS applications
6363

6464
Default SNI for Spectrum can only be created via API using the [Create Address Map](/api/resources/addressing/subresources/address_maps/methods/create/) endpoint.
6565

66-
The key is to not include any membership in your command. Your API command would resemble the following:
66+
Do not include any membership in your command. Your API command should resemble the following:
6767

68-
```shell
69-
curl --request POST \
70-
--url https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/addressing/address_maps \
71-
--header 'authorization: Bearer $CLOUDFLARE_API_TOKEN' \
72-
--header 'content-type: application/json' \
68+
```bash
69+
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/addressing/address_maps \
70+
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
71+
--header "Content-Type: application/json" \
7372
--data '{
7473
"description": "default_sni",
7574
"default_sni": "sni.example.com",

0 commit comments

Comments
 (0)