21 lines
391 B
Nix
21 lines
391 B
Nix
{ ... }:
|
|
|
|
{
|
|
services.nginx.virtualHosts = {
|
|
"meow.clerie.de" = {
|
|
serverAliases = [
|
|
"xn--zn8h.clerie.de"
|
|
"xn--5o8h.clerie.de"
|
|
];
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations."/" = {
|
|
return = ''200 "meow\n"'';
|
|
extraConfig = ''
|
|
types { } default_type "text/plain; charset=utf-8";
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|