try this other cache strat
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
b4991c0576
commit
b43d673aa6
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in New Issue