23 lines
470 B
Nix
23 lines
470 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;
|
|
};
|
|
};
|
|
};
|
|
}
|