diff --git a/hosts/web-2/bula22.nix b/hosts/web-2/bula22.nix new file mode 100644 index 0000000..cf14eb6 --- /dev/null +++ b/hosts/web-2/bula22.nix @@ -0,0 +1,16 @@ +{ ... }: + +{ + services.nginx.virtualHosts = { + "bula22.de" = { + enableACME = true; + forceSSL = true; + locations."/" = { + return = ''200 "VCP Bundeslager 2022"''; + extraConfig = '' + add_header Content-Type text/plain; + ''; + }; + }; + }; +} diff --git a/hosts/web-2/configuration.nix b/hosts/web-2/configuration.nix index 1de9910..c8ccfe9 100644 --- a/hosts/web-2/configuration.nix +++ b/hosts/web-2/configuration.nix @@ -6,6 +6,7 @@ ./hardware-configuration.nix ../../configuration/common ./bubblesort.nix + ./bula22.nix ./clerie.nix ./gitea.nix ./iot-data.nix