Cache only up to 10 minutes in nginx example.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
82261aadfb
commit
6a4e15df81
@ -28,7 +28,7 @@ server {
|
|||||||
fastcgi_param GITEA2RSS_BASEURL "https://git.example.com";
|
fastcgi_param GITEA2RSS_BASEURL "https://git.example.com";
|
||||||
|
|
||||||
fastcgi_cache gitea2rss;
|
fastcgi_cache gitea2rss;
|
||||||
fastcgi_cache_valid 200 20m; # Cache answers for up to 20 minutes.
|
fastcgi_cache_valid 200 10m; # Cache answers for up to 10 minutes.
|
||||||
fastcgi_cache_lock on; # Relay only one identical request at a time.
|
fastcgi_cache_lock on; # Relay only one identical request at a time.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user