1
0

web-2 meows

This commit is contained in:
clerie 2021-01-02 21:35:21 +01:00
parent d4499ed056
commit e0f8f4d79a
2 changed files with 17 additions and 0 deletions

View File

@ -6,6 +6,7 @@
./hardware-configuration.nix
../../configuration/common
./bubblesort.nix
./meow.nix
];
boot.loader.grub.enable = true;

16
hosts/web-2/meow.nix Normal file
View File

@ -0,0 +1,16 @@
{ ... }:
{
services.nginx.virtualHosts = {
"meow.clerie.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
return = ''200 "meow"'';
extraConfig = ''
add_header Content-Type text/plain;
'';
};
};
};
}