mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
New vesta installer
This commit is contained in:
parent
dce52823fb
commit
e892898874
1545 changed files with 59733 additions and 3626 deletions
12
install/rhel/5/templates/web/nginx/caching.sh
Executable file
12
install/rhel/5/templates/web/nginx/caching.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
user=$1
|
||||
domain=$2
|
||||
ip=$3
|
||||
home=$4
|
||||
docroot=$5
|
||||
|
||||
str="proxy_cache_path /var/cache/nginx/$domain levels=2"
|
||||
str="$str keys_zone=$domain:10m inactive=60m max_size=512m;"
|
||||
echo "$str" >> /etc/nginx/conf.d/01_caching_pool.conf
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue