Nginx Forward Port 80 to registry:2 Cannot push Mirror

  docker, question

This is how I started registry

docker run -d -p 6000:5000 --restart=always --name registry -e STANDALONE=true -v /registry6000:/var/lib/registry registry:2

Nginx forwarded this way

server {
 listen 80;
 server_name  i.com ;
 location / {
 proxy_pass http://127.0.0.1:6000;
 }
 }

At present, direct i.com:6000 can push, and I think direct i.com can also push. The result shows that
Error: Status 405 trying to push repository registry

How? What causes it?