1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-20 09:39:39 +01:00

Compare commits

..

No commits in common. "c4c7666802f439af79266e3a8210dfdf56d8dbe4" and "00e12ef683046a280ab7cf08c98b7bc580df53f3" have entirely different histories.

View File

@ -17,25 +17,16 @@ with lib; {
recommendedTlsSettings = true; recommendedTlsSettings = true;
}; };
networking.firewall.allowedTCPPorts = [80 443]; networking.firewall.allowedTCPPorts = [80 443];
services.nginx.virtualHosts = { services.nginx.virtualHosts."localhost" = {
"localhost" = { addSSL = false;
addSSL = false; enableACME = false;
enableACME = false; root = "/var/www/localhost";
root = "/var/www/localhost"; default = true;
default = true; };
}; services.nginx.virtualHosts."ellmauthaler.net" = {
addSSL = true;
"ellmauthaler.net" = { enableACME = true;
addSSL = true; root = "/var/www/localhost";
enableACME = true;
root = "/var/www/localhost";
};
"www.ellmauthaler.net" = {
enableACME = true;
addSSL = true;
globalRedirect = "stefan.ellmauthaler.net";
};
}; };
}; };
} }