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} '';