Hey, I’ve tried running the Gitea Container Registry but I can’t push images to it.
My Gitea instance runs in Docker and I use a reverse proxy (Nginx Proxy Manager) to open it to the outside world. Everything works fine except the Container Registry. Docker login succeeds, but when I try to push an image I get this error:
docker push gitea.abc.de/user/docker_webserver:latest
error parsing HTTP 404 response body: invalid character 'N' looking for beginning of value: "Not found.\n"
My nginx additional config:
location / {
proxy_pass http://$server:$port;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
Checked controlls:
Cache Assets: yes
Block Common Exploits: yes
Websockets Support: yes
Force SSL: yes
HTTP/2 Support: yes
HSTS Enabled: yes
HTST Subdomains: no
Thanks for your help
Best regards Niclas