Skip to content

Commit

Permalink
docs: document releases-distribution lambdas
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoIeni committed Sep 20, 2024
1 parent a26fb74 commit f94a653
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions terragrunt/modules/release-distribution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,14 @@ distribution of traffic between CloudFront and Fastly.
If you want to use a specific CDN, use `fastly-static.rust-lang.org` or `cloudfront-static.rust-lang.org`.

The Fastly CDN is configured via the VCL language, while the CloudFront CDN is configured via Javascript AWS lambda functions.

## Lambdas

The following lambdas manage requests starting with the following URLs:

- [doc-router](./lambdas/doc-router/index.js):
- dev: dev-doc.rust-lang.org
- prod: doc.rust-lang.org
- [static-router](./lambdas/static-router/index.js):
- dev: dev-static.rust-lang.org
- prod: static.rust-lang.org

0 comments on commit f94a653

Please sign in to comment.