Infini-OPTIPLEX: add testing site
This commit is contained in:
parent
795565791f
commit
be1ee5c848
1 changed files with 17 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue