Infini-OPTIPLEX: add testing site

This commit is contained in:
Infinidoge 2024-04-26 02:54:41 -04:00
parent 795565791f
commit be1ee5c848
Signed by: Infinidoge
SSH key fingerprint: SHA256:VEv3zmkBzcYYle6/37h+BbOyNDbGy/o8SHh7fcs9RbQ

View file

@ -18,6 +18,23 @@ in
''; '';
}; };
}; };
"test.inx.moe" = {
root = "/srv/web/inx.moe";
locations."/" = {
tryFiles = "$uri $uri.html =404";
extraConfig = ''
deny all;
location ~ "\.(html|css|txt)" {
allow all;
}
location = /template.html {
deny all;
};
'';
};
};
"ponder.inx.moe" = ssl // { "ponder.inx.moe" = ssl // {
locations."/".root = pkgs.ponder; locations."/".root = pkgs.ponder;