Skip to content

Commit

Permalink
disable nginx buffering to get streaming working right
Browse files Browse the repository at this point in the history
  • Loading branch information
collinmurd committed Oct 24, 2024
1 parent a9949d5 commit 16e7d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const nextConfig = {
source: '/((?!_next/static|_next/image|favicon.ico).*)',
headers: [
{
key: 'X-Accel-Buffering',
key: 'X-Accel-Buffering', // disables nginx buffering on responses for streamed pages
value: 'no',
},
],
Expand Down

0 comments on commit 16e7d63

Please sign in to comment.