Skip to content

Commit

Permalink
add proxy-cache block
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Dec 22, 2018
1 parent c42e29c commit cf6f46a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions blocks/proxy-cache.nginx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
proxy_cache snoot;
proxy_cache_lock on;
proxy_cache_background_update on;
proxy_cache_revalidate on;
proxy_cache_valid 200 1d;
proxy_buffering on;

0 comments on commit cf6f46a

Please sign in to comment.