This sample demonstrates NSK zero-downtime deployments using the “pass-through” CloudFront architecture for an app without a subDomain. A pass-through CloudFront distribution serves the main domain and forwards every request to the application infrastructure at z.[hostedZone], so infrastructure can be replaced and traffic switched between versions without service interruption.
apps/infrastructure/bin/infra-settings.ts: