22 lines
468 B
Nix
22 lines
468 B
Nix
{flakes, pkgs, ...}: {
|
|
services.nginx = {
|
|
virtualHosts."donsz.nl" = {
|
|
forceSSL = true;
|
|
http2 = true;
|
|
enableACME = true;
|
|
|
|
locations."/" = {
|
|
root = flakes.homepage.packages.${pkgs.system}.website;
|
|
};
|
|
};
|
|
virtualHosts."jdonszelmann.nl" = {
|
|
forceSSL = true;
|
|
http2 = true;
|
|
enableACME = true;
|
|
|
|
locations."/" = {
|
|
root = flakes.homepage.packages.${pkgs.system}.website;
|
|
};
|
|
};
|
|
};
|
|
}
|