feat(forgejo): serve chef pfp as favicon and logo
This commit is contained in:
parent
06360e6e37
commit
d8af11da26
2 changed files with 17 additions and 7 deletions
|
@ -64,15 +64,25 @@ in {
|
||||||
useACMEHost = "buffet.sh";
|
useACMEHost = "buffet.sh";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
||||||
locations."= /" = {
|
locations = {
|
||||||
|
"= /" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
return 301 https://$host/chef;
|
return 301 https://$host/chef;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
locations."/" = {
|
"/" = {
|
||||||
proxyPass = "http://localhost:${toString port}";
|
proxyPass = "http://localhost:${toString port}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"= /assets/img/logo.svg" = {
|
||||||
|
alias = ../../res/buffet_chef.png;
|
||||||
|
};
|
||||||
|
|
||||||
|
"= /assets/img/favicon.svg" = {
|
||||||
|
alias = ../../res/buffet_chef.png;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
BIN
res/buffet_chef.png
Normal file
BIN
res/buffet_chef.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 412 KiB |
Loading…
Reference in a new issue