-
I have weird error with SvelteKit setup on caprover, when I enable SSR and only in production. One of pages (which loads big components server side) throws 502 only on hard refresh. Thanks to awesome caprover community I found how to trace logs of my applications and nginx containers and I was able to pin point that above mentioned reqests results in this entry in nginx log This is only config i found that is supposed to "fix" this kind of issue:
any advice would be highly apreciated <3 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I have calculated header size to be 4k - it is response link headers. caprover+sveltekit KING |
Beta Was this translation helpful? Give feedback.
-
More info on this issue: sveltejs/kit#11084 |
Beta Was this translation helpful? Give feedback.
I have calculated header size to be 4k - it is response link headers.
and have added this: proxy_buffer_size 16k; to app nginx config
caprover+sveltekit KING
<3