Compare commits
2 Commits
665a97f97e
...
c7b44d9d94
Author | SHA1 | Date |
---|---|---|
|
c7b44d9d94 | |
|
1da7a107bc |
|
@ -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;
|
||||
|
|
|
@ -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"; };
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue