Skip to content

fix(static-website): fix deep linking access denied issue and bucket deployment oom kill issue#921

Merged
cogwirrel merged 1 commit intomainlinefrom
fix/static-website-bugs
May 7, 2025
Merged

fix(static-website): fix deep linking access denied issue and bucket deployment oom kill issue#921
cogwirrel merged 1 commit intomainlinefrom
fix/static-website-bugs

Conversation

@cogwirrel
Copy link
Copy Markdown
Member

CloudFront with S3 OAC returns a 403 instead of a 404 when an object is missing from an S3 bucket, and so the redirect for single-page apps was broken. Updated to handle both 403 and 404 to be safe.

Additionally bumped the default memory size for the bucket deployment lambda which was being killed due to exceeding the memory limit for just the default website.

Fixes #915
Fixes #909

…deployment oom kill issue

CloudFront with S3 OAC returns a 403 instead of a 404 when an object is missing from an S3 bucket,
and so the redirect for single-page apps was broken. Updated to handle both 403 and 404 to be safe.
Additionally bumped the default memory size for the bucket deployment lambda which was being killed
due to exceeding the memory limit for just the default website.

Fixes #915, Fixes #909
@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented May 7, 2025

View your CI Pipeline Execution ↗ for commit c13dfd9.

Command Status Duration Result
nx run-many --target=build --output-style=strea... ✅ Succeeded 6m 56s View ↗

☁️ Nx Cloud last updated this comment at 2025-05-07 13:53:44 UTC

@cogwirrel cogwirrel merged commit 1077790 into mainline May 7, 2025
3 checks passed
@cogwirrel cogwirrel deleted the fix/static-website-bugs branch May 7, 2025 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Access Denied when upgrading from PDK 0.25.13 to later version [BUG] SIGKILL 9 error on StaticWebsite construct

2 participants