From 1e228236e2cdd1dff110021f4684f05434a3d226 Mon Sep 17 00:00:00 2001 From: diamondburned Date: Fri, 3 May 2024 15:02:59 -0700 Subject: [PATCH] Fix Caddyfile for user-vms --- servers/cs306/caddy/Caddyfile | 4 ---- servers/cs306/user-vms.nix | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/servers/cs306/caddy/Caddyfile b/servers/cs306/caddy/Caddyfile index 3d9f73d..4e28c95 100644 --- a/servers/cs306/caddy/Caddyfile +++ b/servers/cs306/caddy/Caddyfile @@ -80,7 +80,3 @@ isos.acmcsuf.com { @files not path / */ header @files Cache-Control "public, max-age=31536000, immutable" } - -ssh.acmcsuf.com { - reverse_proxy * localhost:38274 -} diff --git a/servers/cs306/user-vms.nix b/servers/cs306/user-vms.nix index 6ffbcc1..ecaca3d 100644 --- a/servers/cs306/user-vms.nix +++ b/servers/cs306/user-vms.nix @@ -18,7 +18,7 @@ in poolDirectory = "/var/lib/acm-vm"; }; - services.diamondburned.caddy.sites."https://vps.acmcsuf.com" = '' + services.diamondburned.caddy.sites."http://vps.acmcsuf.com" = '' root * ${pkgs.writeTextDir "vps.json" (builtins.toJSON config.acm.user-vms.usersInfo)} rewrite * /vps.json file_server