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 = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
#certs."new.anythingforafriend.com" = {
|
#certs."www.anythingforafriend.com" = {
|
||||||
#dnsProvider = "porkbun";
|
#dnsProvider = "porkbun";
|
||||||
#domain = "anythingforafriend.com";
|
#domain = "anythingforafriend.com";
|
||||||
#environmentFile = "/opt/keys/porkbun";
|
#environmentFile = "/opt/keys/porkbun";
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
};
|
};
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."new.anythingforafriend.com" = {
|
virtualHosts."www.anythingforafriend.com" = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$script;
|
fastcgi_param SCRIPT_FILENAME $document_root$script;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
root = "/var/www/new.anythingforafriend.com";
|
root = "/var/www/www.anythingforafriend.com";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
extraGroups = [ "nginx" ];
|
extraGroups = [ "nginx" ];
|
||||||
home = "/var/www/new.anythingforafriend.com";
|
home = "/var/www/www.anythingforafriend.com";
|
||||||
homeMode = "770";
|
homeMode = "770";
|
||||||
group = "nginx";
|
group = "nginx";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue