Use caddy-exec to handling Forgejo webhooks on astral

This commit is contained in:
Nettika 2025-10-15 17:43:36 -07:00
parent 01015c19b9
commit 39f73ef2f2
2 changed files with 20 additions and 33 deletions

View file

@ -36,6 +36,11 @@
services.caddy = {
enable = true;
package = pkgs.caddy.withPlugins {
plugins =
[ "github.com/abiosoft/caddy-exec@v0.0.0-20240914124740-521d8736cb4d" ];
hash = "sha256-ef6/x7wjKk0axjX6MfAzTTwPM2FTOTSSyI9zLLrczV0=";
};
virtualHosts = {
"astral.leaf.ninja".extraConfig = ''
respond "astral is online"