Infini-OPTIPLEX: add ssl to files and test

This commit is contained in:
Infinidoge 2024-04-26 03:51:24 -04:00
parent 21770fab53
commit c190d21228
Signed by: Infinidoge
SSH key fingerprint: SHA256:VEv3zmkBzcYYle6/37h+BbOyNDbGy/o8SHh7fcs9RbQ

View file

@ -10,7 +10,7 @@ in
root = ./static; root = ./static;
}; };
}; };
"files.inx.moe" = { "files.inx.moe" = ssl // {
locations."/" = { locations."/" = {
root = "/srv/web/files.inx.moe"; root = "/srv/web/files.inx.moe";
extraConfig = '' extraConfig = ''
@ -18,7 +18,7 @@ in
''; '';
}; };
}; };
"test.inx.moe" = { "test.inx.moe" = ssl // {
root = "/srv/web/inx.moe"; root = "/srv/web/inx.moe";
locations."/" = { locations."/" = {
tryFiles = "$uri $uri.html =404"; tryFiles = "$uri $uri.html =404";