renamed nginx templates

This commit is contained in:
Serghey Rodin 2011-06-23 00:22:25 +03:00
commit 2cf57ee94f
3 changed files with 7 additions and 5 deletions

View file

@ -590,9 +590,9 @@ is_template_valid() {
}
proxy_template() {
tpl="$V_WEBTPL/ngingx_vhost-$template.tpl"
descr="$V_WEBTPL/ngingx_vhost-$template.descr"
ssl="$V_WEBTPL/ngingx_vhost-$template.ssl.tpl"
tpl="$V_WEBTPL/ngingx_vhost_$template.tpl"
descr="$V_WEBTPL/ngingx_vhost_$template.descr"
ssl="$V_WEBTPL/ngingx_vhost_$template.ssl.tpl"
if [ ! -e $tpl ] || [ ! -e $descr ] || [ ! -e $ssl ]; then
echo "Error: template not found"