Navigating to my.domain.tld/collections/uuid works but bookmarked my.domain.tld/collections/uuid shows 502 Bad Gateway #828
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Same issue here - running adventurelog behind a nginx-reverse-proxy. other URLS are not working, like: -> 502 Bad Gateway (openresty) But only if I do a F5-Refresh or using a bookmark - navigating inside the web-app works without issues. I think there are properties missing on these affected pages. |
Beta Was this translation helpful? Give feedback.
-
|
The issue is caused by a mix of Svelte and Nginx : The SvelteKit frontend server responds with larger headers on refresh, which the default nginx/NPM configuration cannot handle. This is shown when looking at the error log: Solution is simple when you know what the true issue is, you just need to add the following three lines to the advanced tab of your reverse host: |
Beta Was this translation helpful? Give feedback.
-
|
Oh brilliant, that's exactly what I needed. That fixed it right up, thank
you!
…On Sun, Nov 23, 2025, 5:16 PM Rafael Lopez ***@***.***> wrote:
The issue is caused by a mix of Svelte and Nginx : The SvelteKit frontend
server responds with larger headers on refresh, which the default nginx/NPM
configuration cannot handle. This is shown when looking at the error log:
2025/11/23 23:06:47 [error] 8126#8126: *4407020 upstream sent too big
header while reading response header from upstream, client: X.X.X.X,
server: my.server.tld, request: "GET /locations HTTP/2.0", upstream: "
http://Y.Y.Y.Y:3000/locations", host: "my.server.tld"
Solution is simple when you know what the true issue is, you just need to
add the following three lines to the advanced tab of your reverse host:
proxy_busy_buffers_size 512k;
proxy_buffers 4 512k;
proxy_buffer_size 256k;
—
Reply to this email directly, view it on GitHub
<#828 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTZYXIABICYBGQAM33LFLT36IW4HAVCNFSM6AAAAACFLUIU26VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMBVGUZDGMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.


The issue is caused by a mix of Svelte and Nginx : The SvelteKit frontend server responds with larger headers on refresh, which the default nginx/NPM configuration cannot handle. This is shown when looking at the error log:
2025/11/23 23:06:47 [error] 8126#8126: *4407020 upstream sent too big header while reading response header from upstream, client: X.X.X.X, server: my.server.tld, request: "GET /locations HTTP/2.0", upstream: "http://Y.Y.Y.Y:3000/locations", host: "my.server.tld"Solution is simple when you know what the true issue is, you just need to add the following three lines to the advanced tab of your reverse host: