Enable SSL, add more vhosts

This commit is contained in:
Lgmrszd 2024-01-14 23:32:44 +03:00
parent a26c8af6cf
commit 895d85c1db
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -30,10 +30,31 @@
services.nginx = {
enable = true;
virtualHosts."gtnh.lgm.6dcdb488.nip.io" = {
# addSSL = true;
forceSSL = true;
enableACME = true;
root = "/var/www/gtnh";
};
virtualHosts."akko.testdrive.lgm.6dcdb488.nip.io" = {
# addSSL = true;
forceSSL = true;
enableACME = true;
root = "/var/www/todo";
};
virtualHosts."ice.testdrive.lgm.6dcdb488.nip.io" = {
# addSSL = true;
forceSSL = true;
enableACME = true;
root = "/var/www/todo";
};
};
security.acme = {
acceptTerms = true;
defaults.email = "lgmrszd@disroot.org";
};
programs.mosh.enable = true;
environment.systemPackages = with pkgs; [