What is an Entrypoint?
An entrypoint is a CDN + router that:- Routes HTTP requests - To services or buckets based on URL paths
- Provides HTTPS - Automatic SSL/TLS termination
- Caches responses - CDN caching for performance
- Handles scaling - Automatically scales with traffic
Basic entrypoint
Route Configuration
Routes map URL paths to destinations:/api/- Matches/api/*(with trailing content)/- Matches all remaining paths
Custom Domains
Most entrypoints support custom domains, however, this functionality is platform specific.For example, the
suga/aws platform will generate Terraform Variables during suga build, which allow you to specify a custom domain per entrypoint.