this should do it
This commit is contained in:
parent
8e9ef37e93
commit
260e729314
|
@ -89,7 +89,13 @@ in {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations = {
|
locations = {
|
||||||
"/media" = { proxyPass = "http://unix:/run/akkoma/socket"; };
|
"/media" = { proxyPass = "http://unix:/run/akkoma/socket"; };
|
||||||
"/proxy" = { proxyPass = "http://unix:/run/akkoma/socket"; };
|
"/proxy" = {
|
||||||
|
proxyPass = "http://unix:/run/akkoma/socket";
|
||||||
|
extraConfig = ''
|
||||||
|
proxy_cache akkoma_media_cache;
|
||||||
|
proxy_cache_lock on;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue