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

Add ellmauthaler.net SSL enabled website

This commit is contained in:
Stefan Ellmauthaler 2022-08-22 17:16:56 +02:00
parent 2b61e5420f
commit 8261143748
Signed by: ellmau
GPG Key ID: C804A9C1B7AF8256

View File

@ -12,10 +12,15 @@ with lib; {
services.nginx.enable = true;
networking.firewall.allowedTCPPorts = [80 443];
services.nginx.virtualHosts."localhost" = {
addSSL = true;
enableACME = true;
addSSL = false;
enableACME = false;
root = "/var/www/localhost";
default = true;
};
services.nginx.virtualHosts."ellmauthaler.net" = {
addSSL = true;
enableACME = true;
root = "/var/www/localhost";
};
};
}