diff --git a/modules/stream.nix b/modules/stream.nix index 088840d..064e7d5 100644 --- a/modules/stream.nix +++ b/modules/stream.nix @@ -1,16 +1,10 @@ -{ pkgs, lib, config, ... }: -let - website = pkgs.fetchgit { - url = "ssh+git://git@github.com:fsr/fruitbasket.git"; - rev = "1b380f3bfd48aae2a17aefbbdd0538f09b7d3bcf"; - sha256 = ""; - }; -in +{ pkgs, config, ... }: { services = { nginx = { virtualHosts = { - "stream.${config.fsr.domain}" = { + # "stream.${config.fsr.domain}" = { + "stream.ifsr.de" = { enableACME = true; forceSSL = true; locations."/" = diff --git a/modules/website.nix b/modules/website.nix index aa81fdf..8124007 100644 --- a/modules/website.nix +++ b/modules/website.nix @@ -44,7 +44,7 @@ in extraConfig = '' index index.html index.php; ''; - + locations = { "/" = { tryFiles = "$uri $uri/ /index.php?$query_string";