diff --git a/hosts/freun.dev/services/snips.nix b/hosts/freun.dev/services/snips.nix index 4db0ace..a3398ed 100644 --- a/hosts/freun.dev/services/snips.nix +++ b/hosts/freun.dev/services/snips.nix @@ -38,11 +38,7 @@ in }; }; - services.caddy.virtualHosts = { - "${fqdn}".extraConfig = '' - reverse_proxy localhost:${toString port} - ''; - }; + modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}"; networking.firewall.allowedTCPPorts = [ sshPort ]; }