diff --git a/CHANGELOG.md b/CHANGELOG.md index b19be51..23fa0ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/nginx.conf b/nginx.conf index d7e4340..4ffa3df 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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;