Git push error gitblit

Synonym

admin@alefbt.com$ git push
Password for 'http://admin@git.dev.gebm.co.il': 
Counting objects: 1146, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1014/1014), done.
Writing objects: 100% (1146/1146), 10.05 MiB | 15.74 MiB/s, done.
Total 1146 (delta 125), reused 0 (delta 0)
error: RPC failed; result=22, HTTP code = 413
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

Solution

server {
    listen 80;
    server_name domain.com;
    client_max_body_size 50m;

    location ^~ /gitblit-1.7.1 {
        proxy_pass http://someserver:8080/gitblit-1.7.1;
    }

    location / {
        proxy_pass        http://someserver:8080/gitblit-1.7.1/;
        proxy_redirect    http://someserver:8080/gitblit-1.7.1/ /;
        proxy_set_header  X-Forwarded-For $remote_addr;
        proxy_set_header  Host $host;
        proxy_read_timeout  90;
    }
}
kb/git_push_error_gitblit.txt · Last modified: 2022/01/03 16:03 by 127.0.0.1
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0