diff --git a/hosts/web-2/configuration.nix b/hosts/web-2/configuration.nix index 81dd913..907113e 100644 --- a/hosts/web-2/configuration.nix +++ b/hosts/web-2/configuration.nix @@ -7,6 +7,7 @@ ./bubblesort.nix ./bula22.nix ./clerie.nix + ./drop.nix ./gitea.nix ./iot-data.nix ./ip.nix diff --git a/hosts/web-2/drop.nix b/hosts/web-2/drop.nix new file mode 100644 index 0000000..dc5429c --- /dev/null +++ b/hosts/web-2/drop.nix @@ -0,0 +1,13 @@ +{ ... }: + +{ + services.nginx.virtualHosts = { + "drop.clerie.de" = { + enableACME = true; + forceSSL = true; + locations."= /" = { + return = ''301 https://cloud.fem.tu-ilmenau.de/s/dXPSNLb25rxSj3z''; + }; + }; + }; +}