caddy: add comments
This commit is contained in:
parent
f772c4c0a4
commit
c0d7adfe8b
1 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,7 @@
|
|||
services = {
|
||||
caddy = {
|
||||
enable = true;
|
||||
# use unstable for caddy-tailscale
|
||||
package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.caddy.withPlugins {
|
||||
plugins = [
|
||||
"github.com/WeidiDeng/caddy-cloudflare-ip@v0.0.0-20231130002422-f53b62aa13cb"
|
||||
|
|
@ -28,6 +29,7 @@
|
|||
};
|
||||
environmentFile = config.sops.secrets."caddy/secrets.env".path;
|
||||
|
||||
# caddy-tailscale breaks reloading
|
||||
enableReload = false;
|
||||
|
||||
extraConfig = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue