Compare commits

...

2 Commits

Author SHA1 Message Date
stupidcomputer 3d42877203 merge the two timelines 2023-11-22 16:32:47 -06:00
stupidcomputer 658701c197 add some server things 2023-11-22 16:31:31 -06:00
2 changed files with 12 additions and 1 deletions

View File

@ -69,6 +69,12 @@
root = "/var/www/beepboop.systems";
};
services.nginx.virtualHosts."cloud.beepboop.systems" = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://localhost:4000";
};
services.nginx.virtualHosts."git.beepboop.systems" = {
forceSSL = true;
enableACME = true;
@ -126,5 +132,5 @@
# Open ports in the firewall.
networking.firewall.enable = false;
networking.firewall.allowedTCPPorts = [ 55555 80 443 ];
networking.firewall.allowedTCPPorts = [ 5232 55555 80 443 ];
}

View File

@ -30,6 +30,11 @@ in {
"postmaster@beepboop.systems"
];
};
"mailsynchronization@beepboop.systems" = {
# nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt' > /hashed/password/file/location
hashedPasswordFile = "/etc/ryan-beepboop-systemsuser-pass";
};
};
certificateScheme = "acme-nginx";
};