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:
parent
2b61e5420f
commit
8261143748
@ -12,10 +12,15 @@ with lib; {
|
|||||||
services.nginx.enable = true;
|
services.nginx.enable = true;
|
||||||
networking.firewall.allowedTCPPorts = [80 443];
|
networking.firewall.allowedTCPPorts = [80 443];
|
||||||
services.nginx.virtualHosts."localhost" = {
|
services.nginx.virtualHosts."localhost" = {
|
||||||
addSSL = true;
|
addSSL = false;
|
||||||
enableACME = true;
|
enableACME = false;
|
||||||
root = "/var/www/localhost";
|
root = "/var/www/localhost";
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
|
services.nginx.virtualHosts."ellmauthaler.net" = {
|
||||||
|
addSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
root = "/var/www/localhost";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user