mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 06:14:19 -07:00
Fix nginx caching #1012
This commit is contained in:
parent
ece87f13d4
commit
6cf7f5f85b
1 changed files with 1 additions and 0 deletions
|
@ -10,3 +10,4 @@ str="proxy_cache_path /var/cache/nginx/$domain levels=2"
|
||||||
str="$str keys_zone=$domain:10m inactive=60m max_size=512m;"
|
str="$str keys_zone=$domain:10m inactive=60m max_size=512m;"
|
||||||
echo "$str" >> /etc/nginx/conf.d/01_caching_pool.conf
|
echo "$str" >> /etc/nginx/conf.d/01_caching_pool.conf
|
||||||
|
|
||||||
|
sort -u /etc/nginx/conf.d/01_caching_pool.conf -o /etc/nginx/conf.d/01_caching_pool.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue