feat: add experiments.winston.sh
This commit is contained in:
parent
53c659c15d
commit
66f7faf74b
1 changed files with 16 additions and 0 deletions
|
@ -6,4 +6,20 @@
|
||||||
|
|
||||||
locations."/".root = ./www;
|
locations."/".root = ./www;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."experiments.winston.sh" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = false;
|
||||||
|
useACMEHost = "winston.sh";
|
||||||
|
|
||||||
|
locations."/" = {
|
||||||
|
root = "/var/lib/winston.sh/experiments";
|
||||||
|
extraConfig = ''
|
||||||
|
autoindex on;
|
||||||
|
autoindex_exact_size off;
|
||||||
|
autoindex_format html;
|
||||||
|
autoindex_localtime on;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue