Compare commits
2 Commits
3fc2dc19aa
...
3d42877203
Author | SHA1 | Date | |
---|---|---|---|
3d42877203 | |||
658701c197 |
@ -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 ];
|
||||
}
|
||||
|
@ -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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user