diff --git a/hosts/ami/forgejo.nix b/hosts/ami/forgejo.nix index 719aca8..747f20e 100644 --- a/hosts/ami/forgejo.nix +++ b/hosts/ami/forgejo.nix @@ -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; + }; }; }; }; diff --git a/res/buffet_chef.png b/res/buffet_chef.png new file mode 100644 index 0000000..e056f02 Binary files /dev/null and b/res/buffet_chef.png differ