18 lines
396 B
Nix
18 lines
396 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
services.nginx = {
|
|
enable = lib.mkDefault true;
|
|
virtualHosts."misa-felix-hochzeit.ml" = {
|
|
serverAliases = [ "misa-felix.ml" "www.misa-felix.ml" ];
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations = {
|
|
"/" = {
|
|
index = "index.html";
|
|
root = "/var/www/misa-felix-hochzeit.ml";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|