try this other cache strat

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-11-04 21:21:24 -04:00
parent b4991c0576
commit b43d673aa6
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ in {
''; '';
services.nginx.virtualHosts."cache.akko.within.website" = { services.nginx.virtualHosts."cache.akko.within.website" = {
locations."/file/xeserv-akko/" = { locations."/" = {
proxyPass = "http://unix:/run/akkoma/socket"; proxyPass = "http://unix:/run/akkoma/socket";
extraConfig = '' extraConfig = ''
@ -104,7 +104,7 @@ in {
}; };
services.nginx.virtualHosts."media.akko.within.website" = { services.nginx.virtualHosts."media.akko.within.website" = {
locations."/file/xeserv-akko/" = { locations."~ /file/xeserv-akko/" = {
proxyPass = "https://f001.backblazeb2.com"; proxyPass = "https://f001.backblazeb2.com";
extraConfig = '' extraConfig = ''