Rename website to production name
Now the magic of NixOS _really_pays off.
This commit is contained in:
parent
f9be9a1657
commit
f625d764db
|
@ -24,7 +24,7 @@
|
|||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
#certs."new.anythingforafriend.com" = {
|
||||
#certs."www.anythingforafriend.com" = {
|
||||
#dnsProvider = "porkbun";
|
||||
#domain = "anythingforafriend.com";
|
||||
#environmentFile = "/opt/keys/porkbun";
|
||||
|
@ -67,7 +67,7 @@
|
|||
};
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."new.anythingforafriend.com" = {
|
||||
virtualHosts."www.anythingforafriend.com" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
extraConfig = ''
|
||||
|
@ -99,7 +99,7 @@
|
|||
fastcgi_param SCRIPT_FILENAME $document_root$script;
|
||||
'';
|
||||
};
|
||||
root = "/var/www/new.anythingforafriend.com";
|
||||
root = "/var/www/www.anythingforafriend.com";
|
||||
};
|
||||
};
|
||||
services.openssh = {
|
||||
|
@ -121,7 +121,7 @@
|
|||
isSystemUser = true;
|
||||
createHome = true;
|
||||
extraGroups = [ "nginx" ];
|
||||
home = "/var/www/new.anythingforafriend.com";
|
||||
home = "/var/www/www.anythingforafriend.com";
|
||||
homeMode = "770";
|
||||
group = "nginx";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue