fix: point to the forgejo platform
This commit is contained in:
parent
a22f45df0c
commit
a75fa022ce
1 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
domain = "mc.compsigh.club";
|
domain = "mc.compsigh.club";
|
||||||
gitRepo = "https://github.com/compsigh/minecraft";
|
gitRepo = "https://git.extremist.software/jet/compsigh-minecraft";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
|
|
@ -12,8 +12,8 @@ in
|
||||||
# minecraft.compsigh.club → redirect to git repo
|
# minecraft.compsigh.club → redirect to git repo
|
||||||
"${domain}" = {
|
"${domain}" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
redir /terms ${gitRepo}/blob/main/terms.txt permanent
|
redir /terms ${gitRepo}/src/branch/main/terms.txt permanent
|
||||||
redir /privacy ${gitRepo}/blob/main/privacy.txt permanent
|
redir /privacy ${gitRepo}/src/branch/main/privacy.txt permanent
|
||||||
redir ${gitRepo} permanent
|
redir ${gitRepo} permanent
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue