Skip to content

fix(sermon-audio): upload large videos via chunked S3 to avoid nginx 502s - #109

Merged
threehappypenguins merged 2 commits into
mainfrom
dev
Aug 23, 2026
Merged

threehappypenguins merged 2 commits into
mainfrom
dev

Conversation

@threehappypenguins

Copy link
Copy Markdown
Owner

1.0.1

SermonAudio distribution now uses SermonAudio’s multipart S3/R2 upload for videos 8 MiB and larger, instead of one POST of the whole file. That POST was failing with nginx 502 Bad Gateway on multi‑gigabyte sermons even when a slightly smaller file succeeded.

Part PUTs follow trusted 307/308 redirects to SermonAudio, Cloudflare R2, and Amazon S3 hosts, which is required for their signed upload URLs. Smaller files and thumbnails still use the original POST to uploadURL.

@threehappypenguins threehappypenguins self-assigned this Aug 23, 2026
@threehappypenguins
threehappypenguins marked this pull request as ready for review August 23, 2026 22:46
@threehappypenguins
threehappypenguins merged commit ae93d9e into main Aug 23, 2026
2 checks passed
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.

1 participant