tangled
alpha
login
or
join now
koi.rip
/
dotfiles
0
fork
atom
my nixos dotfiles :3 (git.koi.rip mirror)
git.koi.rip/koi/dotfiles
linux
dotfiles
neovim
nixos
catppuccin
0
fork
atom
overview
issues
pulls
pipelines
seber: redirect only site root to index.txt
koi.rip
2 months ago
911705d9
428167ce
+4
-2
1 changed file
expand all
collapse all
unified
split
systems
seber
services
ebil-club.nix
+4
-2
systems/seber/services/ebil-club.nix
···
28
28
"/" = {
29
29
root = rootDir;
30
30
index = "index.html";
31
31
+
extraConfig = "try_files $uri $uri/ =404;";
32
32
+
};
33
33
+
"= /" = {
31
34
extraConfig = ''
32
35
if ($http_user_agent ~* "curl") {
33
33
-
rewrite ^ /index.txt last;
36
36
+
return 302 /index.txt;
34
37
}
35
35
-
try_files $uri $uri/ =404;
36
38
'';
37
39
};
38
40
"/index.txt" = {