Skip to content

Commit

Permalink
Auto-merge for PR #28 via VersionBot
Browse files Browse the repository at this point in the history
nginx.conf: Use equal values for client_body_buffer_size and client_m…
  • Loading branch information
resin-io-versionbot[bot] authored Dec 12, 2017
2 parents af26543 + b516b3c commit 30ec258
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).

## v1.5.1 - 2017-12-11

* Nginx.conf: Use equal values for client_body_buffer_size and client_max_body_size to avoid writing big files to disk #28 [Pablo Carranza Velez]

## v1.5.0 - 2017-09-04

* Update registry to 2.6.2 #27 [Akis Kesoglou]
Expand Down
4 changes: 4 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # Add to x-forward-for
proxy_read_timeout 900;
proxy_buffering off;
# These two should be the same or nginx will start writing
# large request bodies to temp files
client_body_buffer_size 1m;
client_max_body_size 1m;

upstream docker-registry {
server localhost:5000;
Expand Down

0 comments on commit 30ec258

Please sign in to comment.