diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 39733062..8434e017 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -189,7 +189,8 @@ server { # if you are expecting large headers (ie. Skynet-Skyfile-Metadata), tune these values to your needs proxy_buffer_size 128k; - proxy_buffers 4 128k; + proxy_buffers 4 256k; + proxy_busy_buffers_size 256k; # cache frequent (> 10) downloads for 24 hours proxy_cache skynet; @@ -218,7 +219,8 @@ server { # if you are expecting large headers (ie. Skynet-Skyfile-Metadata), tune these values to your needs proxy_buffer_size 128k; - proxy_buffers 4 128k; + proxy_buffers 4 256k; + proxy_busy_buffers_size 256k; # cache frequent (> 10) downloads for 24 hours proxy_cache skynet; diff --git a/packages/handshake-api/Dockerfile b/packages/handshake-api/Dockerfile index 59faf860..fa63071f 100644 --- a/packages/handshake-api/Dockerfile +++ b/packages/handshake-api/Dockerfile @@ -13,4 +13,4 @@ ENV HSD_API_KEY="foo" EXPOSE 3100 ENV NODE_ENV production -CMD [ "node", "src/index.js" ] +CMD [ "node", "--max-http-header-size=64000", "src/index.js" ]