1
0
nixfiles/hosts/web-2/meow.nix

21 lines
391 B
Nix
Raw Normal View History

2021-01-02 21:35:21 +01:00
{ ... }:
{
services.nginx.virtualHosts = {
"meow.clerie.de" = {
2021-02-02 13:35:52 +01:00
serverAliases = [
"xn--zn8h.clerie.de"
"xn--5o8h.clerie.de"
];
2021-01-02 21:35:21 +01:00
enableACME = true;
forceSSL = true;
locations."/" = {
2022-11-29 20:55:48 +01:00
return = ''200 "meow\n"'';
2021-01-02 21:35:21 +01:00
extraConfig = ''
2022-11-29 20:55:48 +01:00
types { } default_type "text/plain; charset=utf-8";
2021-01-02 21:35:21 +01:00
'';
};
};
};
}