hippocampus: server-cleanup

This commit is contained in:
2024-11-29 17:03:14 -05:00
parent 58031f3896
commit 5c70acaecd
6 changed files with 17 additions and 21 deletions

View File

@@ -1,14 +0,0 @@
{pkgs, config, ...}:
{
imports = [
../../oci/hauk.nix
];
services.caddy.virtualHosts = {
"crompton.cc" = {
extraConfig = ''
reverse_proxy 127.0.0.1:7888
'';
};
};
}

View File

@@ -23,7 +23,7 @@
];
# Give a name to each device
dns_config = {
dns = {
base_domain = "tailnet";
magic_dns = true;
};

View File

@@ -52,11 +52,17 @@
};
services.caddy.virtualHosts = {
"games.syzygial.cc:443" = {
serverAliases = [
"games.crompton.cc:443"
];
extraConfig = ''
reverse_proxy 10.1.0.1:80
'';
};
"games.syzygial.cc:9000" = {
serverAliases = [
"games.crompton.cc:9000"
];
extraConfig = ''
reverse_proxy 10.1.0.1:9000
'';

View File

@@ -10,5 +10,12 @@
}
'';
};
"crompton.cc" = {
extraConfig = ''
file_server {
root /srv/www/crompton
}
'';
};
};
}