Use custom caddy build

This commit is contained in:
TEC 2024-01-10 00:55:19 +08:00
parent 360ce82f91
commit 4667d77422
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 1 additions and 3 deletions

View File

@ -6,14 +6,12 @@ with lib;
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 443 ];
# If I end up wanting to add plugins, see:
# https://mdleom.com/blog/2021/12/27/caddy-plugins-nixos/
services.caddy = mkMerge [
{
enable = true;
package = pkgs.callPackage ../packages/caddy.nix {
plugins = [
"github.com/tecosaur/caddy-fs-git"
"github.com/tecosaur/caddy-fs-git@3e897ed"
];
};
virtualHosts."tecosaur.net".extraConfig = ''