sherpa icon indicating copy to clipboard operation
sherpa copied to clipboard

Add client_max_body_size 0 in nginx conf, necessary for jenkins build

Open CyrilSiman opened this issue 7 years ago • 0 comments

Hi,

I propose you this quick PR about client_max_body_size option in Nginx conf.

I use your image in my CI (Jenkins linked with sherpa to access my host docker daemon).

When I tried to build and push image, I've got an error "413 Request Entity Too Large" due to Ngninx.

With this update my build works,

Maybe this PR is to simple, my Python is too old to propose you a PR where a new parameter can be use with docker run as --client_max_body_size (number or zero for unlimited), parse and injected in ngnix.conf.

Please tell me if you are ok with this PR, if not I will work to propose you a new one, write in Python for value injection in nginx.conf.

Regards,

CyrilSiman avatar Nov 14 '17 22:11 CyrilSiman