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";
|
||||
forceSSL = true;
|
||||
serverAliases = [ "www.simply-wise.fr" ];
|
||||
locations."/" = {
|
||||
root = pkgs.runCommand "building" { } ''
|
||||
mkdir -p $out
|
||||
ln -nsf ${./building.html} $out/building.html
|
||||
'';
|
||||
extraConfig = ''
|
||||
internal;
|
||||
error_page 404 =503 /building.html;
|
||||
'';
|
||||
locations = {
|
||||
"/static/".alias = "/srv/orchid/";
|
||||
"/" = {
|
||||
root = pkgs.runCommand "building" { } ''
|
||||
mkdir -p $out
|
||||
ln -nsf ${./building.html} $out/building.html
|
||||
'';
|
||||
extraConfig = ''
|
||||
internal;
|
||||
error_page 404 =503 /building.html;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue