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;
};
networking.firewall.allowedTCPPorts = [80 443];
services.nginx.virtualHosts = {
"localhost" = {
addSSL = false;
enableACME = false;
root = "/var/www/localhost";
default = true;
};
"ellmauthaler.net" = {
addSSL = true;
enableACME = true;
root = "/var/www/localhost";
};
"www.ellmauthaler.net" = {
enableACME = true;
addSSL = true;
globalRedirect = "stefan.ellmauthaler.net";
};
services.nginx.virtualHosts."localhost" = {
addSSL = false;
enableACME = false;
root = "/var/www/localhost";
default = true;
};
services.nginx.virtualHosts."ellmauthaler.net" = {
addSSL = true;
enableACME = true;
root = "/var/www/localhost";
};
};
}