add caching feature

This commit is contained in:
psy 2023-06-12 21:45:23 +02:00
parent d641af6347
commit 128fbc8258
No known key found for this signature in database
GPG key ID: 30546501FF65B1A5
3 changed files with 22 additions and 0 deletions

View file

@ -12,6 +12,7 @@ nginx:
vhosts: {}
streams: {}
maps: {}
caches: {}
resolver:
- 8.8.8.8
- 8.8.4.4
@ -57,6 +58,11 @@ nginx_streams_defaults:
proxy_connect_timeout: "2s"
proxy_next_upstream_tries: 2
nginx_caches_defaults:
keys_zone_size: "10m"
cache_size: "1g"
inactive_time: "10m"
nginx_forcessl_vhost:
"https-redirect":
listen: