feat(forgejo): serve chef pfp as favicon and logo

This commit is contained in:
buffet 2024-05-03 11:05:32 +02:00
parent 06360e6e37
commit d8af11da26
2 changed files with 17 additions and 7 deletions

View file

@ -64,14 +64,24 @@ in {
useACMEHost = "buffet.sh";
forceSSL = true;
locations."= /" = {
extraConfig = ''
return 301 https://$host/chef;
'';
};
locations = {
"= /" = {
extraConfig = ''
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB