summaryrefslogtreecommitdiff
path: root/examples/nginx-cache.conf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nginx-cache.conf')
-rw-r--r--examples/nginx-cache.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/nginx-cache.conf b/examples/nginx-cache.conf
new file mode 100644
index 0000000..bea4366
--- /dev/null
+++ b/examples/nginx-cache.conf
@@ -0,0 +1,2 @@
+proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=dbf_cache:10m max_size=1g inactive=10m use_temp_path=off;
+proxy_cache_valid any 1m;