add caching feature
This commit is contained in:
parent
d641af6347
commit
128fbc8258
3 changed files with 22 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue