TidyLinker.com
TypeScript
Pull Request Opened
PR #59 opened: Fix 502 on cleaner dashboard, add release plans
Summary
- Fix 502 errors on cleaner dashboard — nginx was returning 502 after Stripe Connect redirects because the response headers exceeded the default 4KB fastcgi buffer. Added
fastcgi_buffer_size 32kandfastcgi_buffers 16 16kto the nginx template innixpacks.toml. - Add implementation plans for the two remaining release features:
docs/plans/direct-booking-implementation.md— client books cleaner directly from profile (reuses JobPosting with newsourcecolumn)docs/plans/calendar-availability-implementation.md— cleaner availability schedule + calendar viewdocs/plans/testing-plan.md— pre-release test coverage review and verification checklist
Root Cause (502)
upstream sent too big header while reading response header from upstream
Found in /var/log/nginx-error.log inside the container. Happens on GET /cleaner/dashboard when referred from https://connect.stripe.com/ — the Stripe Connect callback stuffs session flash data that pushes response headers past nginx's default 4KB buffer limit.
Test plan
- Deploy and verify cleaner dashboard loads after Stripe Connect redirect (no more 502)
- Review plans for direct booking and calendar features
- Note: nixpacks should be replaced with a proper Dockerfile — this is a band-aid on a config we don't fully control
+828
additions
-0
deletions
4
files changed