From d78a333192fe8b9439cd80bc08411cb948187244 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 17 Feb 2025 13:25:22 -0600 Subject: [PATCH] fix logo path handling --- hosts/algiz/caddy/nix-cache/index.html | 2 +- hosts/algiz/services.nix | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/hosts/algiz/caddy/nix-cache/index.html b/hosts/algiz/caddy/nix-cache/index.html index 51e9a79..a9a34a3 100644 --- a/hosts/algiz/caddy/nix-cache/index.html +++ b/hosts/algiz/caddy/nix-cache/index.html @@ -31,7 +31,7 @@ - +
diff --git a/hosts/algiz/services.nix b/hosts/algiz/services.nix index 38e3c54..67223ca 100644 --- a/hosts/algiz/services.nix +++ b/hosts/algiz/services.nix @@ -87,6 +87,7 @@ in virtualHosts = { "attic.dayl.in".extraConfig = '' + redir /oizys / handle / { @@ -100,10 +101,16 @@ in ''; "nix-cache.dayl.in".extraConfig = '' - handle / { + @frontend { + path / + path /daylin-nix-cache-logo.svg + } + + handle @frontend { root * ${static-nix-cache} file_server } + handle /* { reverse_proxy http://localhost:${harmoniaPort} }