From b43d673aa660436fe35844ad9fca6286e827deb2 Mon Sep 17 00:00:00 2001 From: Xe Date: Fri, 4 Nov 2022 21:21:24 -0400 Subject: [PATCH] try this other cache strat Signed-off-by: Xe --- hosts/akko/akkoma.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/akko/akkoma.nix b/hosts/akko/akkoma.nix index 4a0cb56..c5bbe85 100644 --- a/hosts/akko/akkoma.nix +++ b/hosts/akko/akkoma.nix @@ -80,7 +80,7 @@ in { ''; services.nginx.virtualHosts."cache.akko.within.website" = { - locations."/file/xeserv-akko/" = { + locations."/" = { proxyPass = "http://unix:/run/akkoma/socket"; extraConfig = '' @@ -104,7 +104,7 @@ in { }; services.nginx.virtualHosts."media.akko.within.website" = { - locations."/file/xeserv-akko/" = { + locations."~ /file/xeserv-akko/" = { proxyPass = "https://f001.backblazeb2.com"; extraConfig = ''