Skip to content

Commit

Permalink
Change max http header size to 1M
Browse files Browse the repository at this point in the history
This MR is to fix errors on large buffer sizes when you push it with large cookies. Without it it will return 431 error.
  • Loading branch information
sakojpa authored and nikitaeverywhere committed Oct 28, 2021
1 parent a4308e6 commit 494e023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ RUN apk add --update 'nodejs<13.0.0'
EXPOSE 80

ENV APP__ENV_NAME=prod
CMD node -r esm src/api.js
CMD node --max-http-header-size=1048576 -r esm src/api.js

0 comments on commit 494e023

Please sign in to comment.