summaryrefslogtreecommitdiff
path: root/guides/cloud/vps.org
diff options
context:
space:
mode:
Diffstat (limited to 'guides/cloud/vps.org')
-rw-r--r--guides/cloud/vps.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/guides/cloud/vps.org b/guides/cloud/vps.org
index f5eb4ed..986e373 100644
--- a/guides/cloud/vps.org
+++ b/guides/cloud/vps.org
@@ -175,6 +175,12 @@ sudo systemctl restart nginx
sudo systemctl restart fail2ban
#+end_src
+**** "Idle" vs default branch
+cgit struggles to guess what to print for the "Idle" column on the
+index page when the default branch is not "master". [[https://lists.zx2c4.com/pipermail/cgit/2020-August/004515.html][Workarounds]]:
+
+- set =repo.defbranch=,
+- update =agefile= with [[https://git.zx2c4.com/cgit/tree/contrib/hooks/post-receive.agefile][a post-receive hook]].
** CGI
I like the idea of [[https://en.wikipedia.org/wiki/Common_Gateway_Interface#Using_CGI_scripts][CGI "scripts"]], i.e. having the web server fire a
program to handle requests: