web-2 meows
This commit is contained in:
parent
d4499ed056
commit
e0f8f4d79a
@ -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
16
hosts/web-2/meow.nix
Normal 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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user