Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx.conf: Use equal values for client_body_buffer_size and client_m… #28

Merged
2 commits merged into from
Dec 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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