static-sites: update
This commit is contained in:
parent
d5fe48e0e2
commit
cb8a982852
1 changed files with 9 additions and 1 deletions
|
@ -42,7 +42,15 @@ in rec {
|
||||||
};
|
};
|
||||||
} // defaultConfig;
|
} // defaultConfig;
|
||||||
in rec {
|
in rec {
|
||||||
"noe.sh" = static { src = flakePackage "noe-sh"; aliases = [ "mekanoe.com" ]; };
|
"noe.sh" = static { src = flakePackage "noe-sh"; aliases = [ "mekanoe.com" ]; } // {
|
||||||
|
locations."=/" = {
|
||||||
|
extraConfig = ''
|
||||||
|
if ($http_user_agent ~ curl/) {
|
||||||
|
rewrite ^ /noe.sh;
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
# "3d.noe.sh" = static { src = flakePackage "3d-noe-sh"; aliases = [ "art.mekanoe.com" ]; };
|
# "3d.noe.sh" = static { src = flakePackage "3d-noe-sh"; aliases = [ "art.mekanoe.com" ]; };
|
||||||
|
|
||||||
"doll.repair" = static { src = flakePackage "doll-repair"; };
|
"doll.repair" = static { src = flakePackage "doll-repair"; };
|
||||||
|
|
Loading…
Add table
Reference in a new issue