mirror of
https://github.com/myvesta/vesta
synced 2025-07-15 09:33:24 -07:00
Fix for domains without proxy support
This commit is contained in:
parent
348dd7ca02
commit
4600b2ac94
1 changed files with 5 additions and 4 deletions
|
@ -332,11 +332,12 @@ if [ "$web" != 'no' ]; then
|
||||||
conf="$HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf"
|
conf="$HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf"
|
||||||
cat $tmp_conf >> $conf
|
cat $tmp_conf >> $conf
|
||||||
rm -f $tmp_conf
|
rm -f $tmp_conf
|
||||||
fi
|
|
||||||
proxy_include=$(grep "$conf" $proxy_conf)
|
proxy_include=$(grep "$conf" $proxy_conf)
|
||||||
if [ -z "$proxy_include" ]; then
|
if [ -z "$proxy_include" ]; then
|
||||||
echo "include $conf;" >> $proxy_conf
|
echo "include $conf;" >> $proxy_conf
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Adding SSL proxy vhost
|
# Adding SSL proxy vhost
|
||||||
if [ ! -z "$PROXY" ] && [ "$SSL" = 'yes' ]; then
|
if [ ! -z "$PROXY" ] && [ "$SSL" = 'yes' ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue