Skip to content

Commit

Permalink
Revert "fix: bad gateway error if nginx reverse proxy is in front"
Browse files Browse the repository at this point in the history
This reverts commit 590cb02.
  • Loading branch information
stonith404 committed Oct 31, 2024
1 parent 2ccabf8 commit 60e7daf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions frontend/src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ export const handle: Handle = async ({ event, resolve }) => {
}

const response = await resolve(event);

// The link header causes nginx reverse proxies to fail because it exceeds the maximum size limits
// https://github.com/sveltejs/kit/issues/11084
response.headers.delete('link');

return response;
};

Expand Down

0 comments on commit 60e7daf

Please sign in to comment.