added nginx support

This commit is contained in:
Serghey Rodin 2011-08-24 16:19:05 +03:00
commit 91794b59b9
3 changed files with 74 additions and 8 deletions

View file

@ -281,7 +281,9 @@ change_web_config() {
-e 's/\//\\\//g')
# Changing config
sed -i "$str_numb s/.*/$str_repl/" $conf
if [ ! -z "$str" ]; then
sed -i "$str_numb s/.*/$str_repl/" $conf
fi
}
get_web_domain_value() {