-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
I keep getting a 413 payload too large error when pushing images. My harbor is behind a dedicated Nginx reverse proxy server, so the reverse proxy and the harbor server are connected via http. I can access the harbor UI over the internet without any issues. I've also set the client_max_body_size
parameter to 0
in the reverse proxy to disable it.
When I push images to docker.io, there's no problem. But when I push to the harbor, the 413 error persists. I checked the reverse proxy logs, and there are no errors. What should I check? Or is it related to the https certificate?
unknown: failed to copy: unexpected status from PUT request to https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1p-D5Kr04_p7Ik5hbWUiOiJzb2NpYWxlbnMvZnJvbnRlbmQiLCJVVUlEIjoiZTE3YjEwYzctMWU3Mi00MGJhLTllNjAtNGY5MzcyODk1YmE1IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI1LTA5LTE1VDAyOjQ0OjM4LjMwMTk2MDY5M1oifQ%3D%3D&digest=sha256%3A201f5f867dfed5351e7346801b9ead405a035189337b716e82051ef242de89f8: 413 Payload Too Large