From 494e0233c08e093cf3a51575c6b992f454f8d651 Mon Sep 17 00:00:00 2001 From: Sergey Gogolev <31584348+Sakojpa@users.noreply.github.com> Date: Wed, 27 Oct 2021 16:18:20 +0300 Subject: [PATCH] Change max http header size to 1M This MR is to fix errors on large buffer sizes when you push it with large cookies. Without it it will return 431 error. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 75b85bf..33025ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +CMD node --max-http-header-size=1048576 -r esm src/api.js