gitlab artifacts too large

gitlab encountered in packaging artifacts:

Uploading artifacts as “archive” to coordinator… too large archive 413 error

I read a lot of solutions on the Internet, and it is generally said to find CI/CD under the setting of the admin account, and change the Maximum artifacts size (MB) to a larger point

insert image description here
Of course, this is one of the points, but there are two other places to pay attention to. If you don’t change it, you will find that it is the same as I did at the beginning. If you change it, will you still report this error? It's incredible.

It turns out that gitlab comes with nginx reverse proxy, modify gitlab.rb or docker-compose.yml below (if you use docker)

nginx['client_max_body_size'] = 0

In addition, the second point, if you use nginx reverse proxy outside your gitlab and then reverse, you need to modify all reverse proxies as well client_max_body_size.

Guess you like

Origin blog.csdn.net/u014466109/article/details/112003985