#Nextjs standalone behind Nginx

1 messages · Page 1 of 1 (latest)

unreal fiber
#

Hi! I'm running Next.js 14.2.4 in standalone mode behind Nginx.
I'm using Auth.js in JWT mode, and middleware to check the session cookie and refresh it when necessary.

After upgrading to Next.js 14.2.26, I'm getting “headers too long” errors in Nginx.
I checked the PRs from 14.2.5 to 14.2.26 but didn’t see anything that might affect.
Do I need to configure something in Nginx to fix this?