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;
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|