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

21 lines
373 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."/" = {
return = ''200 "meow"'';
extraConfig = ''
add_header Content-Type text/plain;
'';
};
};
};
}