fix: nginx mastodon WEB_DOMAIN LOCAL_DOMAIN #26

Merged
b12f merged 7 commits from mastodon-fix-web-domain into main 2023-10-28 21:04:45 +00:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 6f4741fae0 - Show all commits

View file

@ -43,7 +43,7 @@ in
proxy_pass https://${objStorHost}/${objStorBucket}$request_uri?download; proxy_pass https://${objStorHost}/${objStorBucket}$request_uri?download;
proxy_intercept_errors off; proxy_intercept_errors off;
proxy_cache mastodon_files; proxy_cache cache;
proxy_cache_valid 200 48h; proxy_cache_valid 200 48h;
proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
proxy_cache_lock on; proxy_cache_lock on;

View file

@ -12,6 +12,9 @@ in {
enable = true; enable = true;
group = webserverGroup; group = webserverGroup;
enableReload = true; enableReload = true;
proxyCachePath.cache = {
enable = true;
};
}; };
security.acme = { security.acme = {