Francis Daly
November 17, 2022 11:34AM
On Fri, Nov 18, 2022 at 12:04:42AM +0800, Robbi wrote:

Hi there,

> Hi, I plan to setup my own git web using cgit. For now I able to clone but I
> not able to push changes.

What do the nginx logs say about this request?

Specifically, these headers:

> 23:24:26.253252 http.c:662 <= Recv header: cf-cache-status:
> 23:24:26.253252 http.c:662 <= Recv header: report-to: {"endpoints":[{"url":"https:\/\/\/report\/v3?s=fD6cyeHU7oKzC1IXV6hfWtcCXjRGLX7lNK39sEBhlpUSgG6%2F4V8RjFxV%2F20PIQPuFFJeb03csCfZb87f9Q7b7amvGWLhncuAPTZEZ9GraBoHdhs1MObZEz5FdlvADngnu8w%3D"}],"group":"cf-nel","max_age":604800}
> 23:24:26.253252 http.c:662 <= Recv header: server: cloudflare

are not obviously listed in your nginx config; so it might be that you
are talking to something other than the nginx server you think you are
talking to; and that other thing might be returning the 403.

If you can test talking to nginx directly, then maybe something will
show whether the 403 is coming from nginx, or is coming from the fastcgi
server that nginx, in turn, is talking to.

Good luck with it,

Francis Daly
nginx mailing list --
To unsubscribe send an email to
Subject Author Posted

Re: CGIT + NGINX : Not able to push commit

Francis Daly November 17, 2022 11:34AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 164
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready