From 5e649e32e6e69353e7b3456c3ac51546afdc5eaf Mon Sep 17 00:00:00 2001 From: tdback Date: Sat, 23 Nov 2024 15:47:04 -0500 Subject: [PATCH] no need to wrap domain in quotes for caddy config --- modules/fediverse/default.nix | 2 +- modules/forgejo/default.nix | 2 +- modules/mealie/default.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/fediverse/default.nix b/modules/fediverse/default.nix index dce215f..0c3c696 100644 --- a/modules/fediverse/default.nix +++ b/modules/fediverse/default.nix @@ -19,7 +19,7 @@ in }; }; - services.caddy.virtualHosts."${domain}".extraConfig = '' + services.caddy.virtualHosts.${domain}.extraConfig = '' encode zstd gzip reverse_proxy http://localhost:${builtins.toString port} ''; diff --git a/modules/forgejo/default.nix b/modules/forgejo/default.nix index 0e6b073..89d69b5 100644 --- a/modules/forgejo/default.nix +++ b/modules/forgejo/default.nix @@ -43,7 +43,7 @@ in services.openssh.settings.AllowUsers = [ "forgejo" ]; - services.caddy.virtualHosts."${domain}".extraConfig = '' + services.caddy.virtualHosts.${domain}.extraConfig = '' encode zstd gzip reverse_proxy http://localhost:${builtins.toString port} ''; diff --git a/modules/mealie/default.nix b/modules/mealie/default.nix index 988f0f6..52713ce 100644 --- a/modules/mealie/default.nix +++ b/modules/mealie/default.nix @@ -18,7 +18,7 @@ in }; }; - services.caddy.virtualHosts."${domain}".extraConfig = '' + services.caddy.virtualHosts.${domain}.extraConfig = '' encode zstd gzip reverse_proxy http://localhost:${builtins.toString port} '';