From 31fefee2192ed7cda20326ce3d7797075637cd25 Mon Sep 17 00:00:00 2001 From: Benjamin Sanders Date: Fri, 18 Sep 2026 11:13:51 -0400 Subject: published Building bsimg.net: Project Log --- rafts/blog/cgit.html | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 rafts/blog/cgit.html (limited to 'rafts/blog/cgit.html') diff --git a/rafts/blog/cgit.html b/rafts/blog/cgit.html new file mode 100644 index 0000000..a4ba175 --- /dev/null +++ b/rafts/blog/cgit.html @@ -0,0 +1,70 @@ + + + + + + Ben Sanders Online Space + + + + + + +
+
+
+ +
+
+
+
+

cgit

+ Benjamin Sanders | 28 November 2025 | cgit +

Since I’ve moved my website(s) over to a dedicated server I started using I’ve been meaning to configure my own host for git repos. I ran +into some trouble getting it to work properly but thanks to Luke Smith’s landchad.net somebody had written an article how to get a basic one +working.

+ +

Turns out the main thing I was missing was this line from my nginx site config file try_files $uri @cgit ;. The error that fixed was a 403 Forbidden error I kept getting when attempting to visit git.sanders.life.

+ +

I did use the article to make sure HTTPS cloning would work too though and cloned a couple repos I’m interested in having a mirror.

+ +

Now, though, I can freely push my repos to my own server with a read-only frontend to it for other netizens!

+ +

Anyway, thanks for reading this little update to my site and services.

+ +
+
+
+ + + \ No newline at end of file -- cgit v1.2.3