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,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
BIN
res/buffet_chef.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 412 KiB |
Loading…
Reference in a new issue