feat(orchid/site): www available on simply-wise
This commit is contained in:
parent
56369ef219
commit
f36a1ac4ba
1 changed files with 12 additions and 9 deletions
|
@ -102,15 +102,18 @@
|
||||||
useACMEHost = "orchid.katvayor.net";
|
useACMEHost = "orchid.katvayor.net";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
serverAliases = [ "www.simply-wise.fr" ];
|
serverAliases = [ "www.simply-wise.fr" ];
|
||||||
locations."/" = {
|
locations = {
|
||||||
root = pkgs.runCommand "building" { } ''
|
"/static/".alias = "/srv/orchid/";
|
||||||
mkdir -p $out
|
"/" = {
|
||||||
ln -nsf ${./building.html} $out/building.html
|
root = pkgs.runCommand "building" { } ''
|
||||||
'';
|
mkdir -p $out
|
||||||
extraConfig = ''
|
ln -nsf ${./building.html} $out/building.html
|
||||||
internal;
|
'';
|
||||||
error_page 404 =503 /building.html;
|
extraConfig = ''
|
||||||
'';
|
internal;
|
||||||
|
error_page 404 =503 /building.html;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue