diff --git a/hosts/web-2/configuration.nix b/hosts/web-2/configuration.nix index de14e38..3e737fe 100644 --- a/hosts/web-2/configuration.nix +++ b/hosts/web-2/configuration.nix @@ -6,6 +6,7 @@ ./hardware-configuration.nix ../../configuration/common ./bubblesort.nix + ./meow.nix ]; boot.loader.grub.enable = true; diff --git a/hosts/web-2/meow.nix b/hosts/web-2/meow.nix new file mode 100644 index 0000000..725581a --- /dev/null +++ b/hosts/web-2/meow.nix @@ -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; + ''; + }; + }; + }; +}