Skip to content

Commit

Permalink
Caching fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joahim committed Mar 21, 2021
1 parent adfae9f commit 0e435f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ http {
location /api {
uwsgi_pass uwsgi_upstream;
uwsgi_cache cache;
uwsgi_cache_key $request_uri;
uwsgi_cache_lock on;
uwsgi_cache_background_update on;
uwsgi_cache_min_uses 10; # Count requests for an url before the response is cached
Expand Down

0 comments on commit 0e435f7

Please sign in to comment.