17 lines
282 B
Nix
17 lines
282 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
services.nginx.virtualHosts = {
|
||
|
"meow.clerie.de" = {
|
||
|
enableACME = true;
|
||
|
forceSSL = true;
|
||
|
locations."/" = {
|
||
|
return = ''200 "meow"'';
|
||
|
extraConfig = ''
|
||
|
add_header Content-Type text/plain;
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|