From e386f6a41f64a595d9046b56ebb1b7be4f11631d Mon Sep 17 00:00:00 2001 From: Soumyadip Chowdhury Date: Wed, 11 Dec 2024 16:16:35 +0530 Subject: [PATCH] chore(reverse-proxy) : changes in docker file and the header size --- packages/reverse-proxy-service/Dockerfile | 2 +- packages/reverse-proxy-service/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/reverse-proxy-service/Dockerfile b/packages/reverse-proxy-service/Dockerfile index 5470da551..96fdc261f 100644 --- a/packages/reverse-proxy-service/Dockerfile +++ b/packages/reverse-proxy-service/Dockerfile @@ -20,4 +20,4 @@ COPY --from=builder $HOME/.env.example . EXPOSE 8080 -CMD ["node", "dist/index.js"] +CMD ["node", "--max-http-header-size=10485760", "dist/index.js"] diff --git a/packages/reverse-proxy-service/package.json b/packages/reverse-proxy-service/package.json index 365bdf3f4..92cef53ac 100644 --- a/packages/reverse-proxy-service/package.json +++ b/packages/reverse-proxy-service/package.json @@ -5,7 +5,7 @@ "main": "src/index.ts", "scripts": { "start": "npm run serve", - "serve": "node --max-http-header-size=33554432 dist/index.js", + "serve": "node --max-http-header-size=10485760 dist/index.js", "dev": "nodemon", "prebuild": "rimraf dist", "build": "tsc",