Skip to content

Commit

Permalink
Fix Caddyfile for user-vms
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed May 3, 2024
1 parent f041929 commit 1e22823
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions servers/cs306/caddy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion servers/cs306/user-vms.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e22823

Please sign in to comment.