fix: missing nginx proxy cache zone
This commit is contained in:
parent
1983edcc5b
commit
6f4741fae0
|
@ -43,7 +43,7 @@ in
|
|||
proxy_pass https://${objStorHost}/${objStorBucket}$request_uri?download;
|
||||
proxy_intercept_errors off;
|
||||
|
||||
proxy_cache mastodon_files;
|
||||
proxy_cache cache;
|
||||
proxy_cache_valid 200 48h;
|
||||
proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
|
||||
proxy_cache_lock on;
|
||||
|
|
|
@ -12,6 +12,9 @@ in {
|
|||
enable = true;
|
||||
group = webserverGroup;
|
||||
enableReload = true;
|
||||
proxyCachePath.cache = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
|
|
Loading…
Reference in a new issue