git.uninsane.org: passthru page metadata in Anubis

Inspired by adding a link to a post on discuss.nixos.org and having it show up as "Making sure you're not a bot!"

Anubis docs: https://anubis.techaro.lol/docs/admin/configuration/open-graph/
This commit is contained in:
Shelvacu
2025-08-15 23:41:55 -07:00
committed by Shelvacu on prophecy
parent faa0fd006a
commit ffcdf08b20

View File

@@ -122,7 +122,10 @@
# services.openssh.settings.UsePAM = true; #< required for `git` user to authenticate
services.anubis.instances."git.uninsane.org".settings.TARGET = "http://127.0.0.1:3000";
services.anubis.instances."git.uninsane.org" = {
settings.TARGET = "http://127.0.0.1:3000";
botPolicy.openGraph.enabled = true;
};
# hosted git (web view and for `git <cmd>` use
# TODO: enable publog?