feat: current version is always on top
This commit is contained in:
parent
5c8dcdef00
commit
1d3549d541
4 changed files with 103 additions and 36 deletions
|
@ -57,8 +57,7 @@ in {
|
|||
forceSSL = true;
|
||||
useACMEHost = "skynet";
|
||||
locations = {
|
||||
# this alwas points to teh current version of teh site
|
||||
"/".root = "${inputs.skynet_website_2017.defaultPackage."x86_64-linux"}";
|
||||
"/".root = "${inputs.skynet_website.defaultPackage."x86_64-linux"}";
|
||||
|
||||
# this redirects old links to new format
|
||||
"~* ~(?<username>[a-z_0-9]*)(?<files>\\S*)$" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue