Skip to content

Commit

Permalink
nginx: use bigger http/2 chunks for blobs (#630)
Browse files Browse the repository at this point in the history
This should ameliorate PROJQUAY-1228.

Signed-off-by: Hank Donnay <[email protected]>
  • Loading branch information
hdonnay authored Nov 10, 2021
1 parent 01d4136 commit 630d6f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/nginx/server-base.conf.jnj
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ location ~ /v2/([^/]+)(/[^/]+)+/blobs/ {
proxy_temp_path /tmp 1 2;

client_max_body_size {{ maximum_layer_size }};
http2_chunk_size 32k;

# Setting ANY header clears all inherited proxy_set_header directives
proxy_set_header X-Forwarded-For $proper_forwarded_for;
Expand Down

0 comments on commit 630d6f4

Please sign in to comment.