Skip to content

Commit f32d343

Browse files
docs(fronting-groups): add netlify (CloudFront) example
1 parent 8ed8e85 commit f32d343

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

config.fronting-groups.example.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@
3737
"pypi.org",
3838
"fastly.com"
3939
]
40+
},
41+
{
42+
"name": "netlify",
43+
"ip": "35.157.26.135",
44+
"sni": "letsencrypt.org",
45+
"domains": [
46+
"netlify.app",
47+
"netlify.com"
48+
]
4049
}
4150
]
4251
}

docs/fronting-groups.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ The same trick works on any multi-tenant CDN edge that:
1313
2. dispatches to the right backend by inner HTTP `Host`, and
1414
3. presents a TLS cert whose name matches the SNI you choose.
1515

16-
Vercel and Fastly fit the bill. Pick a benign-looking domain hosted on
16+
Vercel, Fastly, and AWS CloudFront (which is what Netlify-hosted sites
17+
sit behind) all fit the bill. Pick a benign-looking domain hosted on
1718
the same edge, use it as the SNI, and you can route many other domains
1819
on that edge through the same tunnel without burning Apps Script quota.
1920

@@ -51,7 +52,8 @@ the recipe is:
5152

5253
1. Pick the target edge (Vercel, Fastly, …).
5354
2. Find a neutral, never-blocked domain hosted there. Vercel: `react.dev`,
54-
`nextjs.org`. Fastly: `www.python.org`, `pypi.org`.
55+
`nextjs.org`. Fastly: `www.python.org`, `pypi.org`. AWS CloudFront
56+
(where Netlify lives): `letsencrypt.org`, `aws.amazon.com`.
5557
3. Resolve that domain (`dig +short react.dev A`) — pick one IP, drop
5658
it in `ip`.
5759
4. List the domains you actually want to reach via this edge in

0 commit comments

Comments
 (0)