Compare commits

...

2 Commits

Author SHA1 Message Date
Eli Ribble c7b44d9d94 Whitespace cleanup 2025-04-18 14:51:52 -07:00
Eli Ribble 1da7a107bc Redirect anythingforafriend.com to https://www.anythingforafriend.com 2025-04-18 14:51:52 -07:00
2 changed files with 9 additions and 1 deletions

View File

@ -74,6 +74,15 @@
};
services.nginx = {
enable = true;
virtualHosts."anythingforafriend.com" = {
addSSL = true;
enableACME = true;
locations."/" = {
extraConfig = ''
rewrite ^(.*) https://www.anythingforafriend.com$1 permanent;
'';
};
};
virtualHosts."www.anythingforafriend.com" = {
addSSL = true;
enableACME = true;

View File

@ -5,5 +5,4 @@
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
}