krebspage: init

This commit is contained in:
lassulus 2018-09-09 12:07:13 +02:00
parent 669dd0b1f9
commit 2dccd7d8d3
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{ fetchgit }:
fetchgit {
url = "https://cgit.lassul.us/krebspage";
rev = "8711780cef004e19a273a5149677869751cd06dc";
sha256 = "0131vqrkcw140d7j94bvajkhlwi99kpikb8sy2bi1hgh8ziqplsm";
}

View File

@ -82,6 +82,10 @@ in {
c-base:$apr1$aQ6mYNR3$ho.aJ7icqSO.y.xKo3GQf0
''};
'';
locations."/krebspage".extraConfig = ''
default_type "text/html";
alias ${pkgs.krebspage}/index.html;
'';
# TODO make this work!
locations."= /ddate".extraConfig = let
script = pkgs.writeBash "test" ''