Use caddy-exec to handling Forgejo webhooks on astral
This commit is contained in:
parent
01015c19b9
commit
39f73ef2f2
2 changed files with 20 additions and 33 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue