diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-08-18 18:52:08 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-08-18 18:52:08 +0200 |
commit | 5cae00129a4b79802b97e48e9cd316b203e7d4af (patch) | |
tree | eae7a8c5d24f6666896d27f2cabe5d64a248051d /examples/nginx-cache.conf | |
parent | 92b0c8e4b7be8c26873fe5cbe3b1d67703c2e7c5 (diff) |
add caching nginx example configuration
Diffstat (limited to 'examples/nginx-cache.conf')
-rw-r--r-- | examples/nginx-cache.conf | 2 |
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; |