1
0
mirror of https://github.com/distribution/distribution synced 2024-11-06 19:35:52 +01:00

Added nginx configuration for uploading large sized blobs (layer size) to registry when using nginx as reverse proxy from monikakatiyar16

Signed-off-by: Monika Katiyar <monika@jeavio.com>
This commit is contained in:
Monika Katiyar 2017-08-16 15:59:41 +05:30
parent e0b4f55f2b
commit 118c8ee1f1

@ -4,3 +4,6 @@ proxy_set_header X-Real-IP $remote_addr; # pass on real client's IP
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 900; proxy_read_timeout 900;
proxy_send_timeout 300;
proxy_request_buffering off; (see issue #2292 - https://github.com/moby/moby/issues/2292)
proxy_http_version 1.1;