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 = {
|
services = {
|
||||||
caddy = {
|
caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# use unstable for caddy-tailscale
|
||||||
package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.caddy.withPlugins {
|
package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.caddy.withPlugins {
|
||||||
plugins = [
|
plugins = [
|
||||||
"github.com/WeidiDeng/caddy-cloudflare-ip@v0.0.0-20231130002422-f53b62aa13cb"
|
"github.com/WeidiDeng/caddy-cloudflare-ip@v0.0.0-20231130002422-f53b62aa13cb"
|
||||||
|
|
@ -28,6 +29,7 @@
|
||||||
};
|
};
|
||||||
environmentFile = config.sops.secrets."caddy/secrets.env".path;
|
environmentFile = config.sops.secrets."caddy/secrets.env".path;
|
||||||
|
|
||||||
|
# caddy-tailscale breaks reloading
|
||||||
enableReload = false;
|
enableReload = false;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue