Disabled HTTP compression but some responses are still being compressed #1113
Unanswered
tuhlaajapoika
asked this question in
Q&A
Replies: 1 comment
-
Did you delete the dist, .next, and node_modules directories before rebuilding Jellyseerr? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
My Jellyseerr instance is running behind an NGINX reverse proxy that handles HTTP data compression. I've patched and built Jellyseerr to prevent it from compressing before passing them to the reverse proxy. I modified
next.config.js
as described on the Next.js documentation, which worked fine before v2.x.However, after v2.x, some responses are still being precompressed and I can't figure out which part of the code (or its dependencies) is applying the compression. Data that is being compressed is provided by Express.
I'm unsure how to identify the changes made on v2.x onwards to adjust my patches accordingly. I'm relatively new to Node.js applications and the list of dependencies is a bit overwhelming to be honest. Should I make changes to
server/index.ts
to explicitly disable compression?Patch for
next.config.js
Beta Was this translation helpful? Give feedback.
All reactions