mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 22:04:00 -07:00
Changing /usr/local/vesta to $VESTA
This commit is contained in:
parent
e82ad200b7
commit
84ef0a118f
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ protocol=$(echo $protocol|tr '[:lower:]' '[:upper:]')
|
||||||
iptables="/sbin/iptables"
|
iptables="/sbin/iptables"
|
||||||
|
|
||||||
# Get vesta port by reading nginx.conf
|
# Get vesta port by reading nginx.conf
|
||||||
vestaport=$(grep 'listen' /usr/local/vesta/nginx/conf/nginx.conf | awk '{print $2}' | sed "s|;||")
|
vestaport=$(grep 'listen' $VESTA/nginx/conf/nginx.conf | awk '{print $2}' | sed "s|;||")
|
||||||
if [ -z "$vestaport" ]; then
|
if [ -z "$vestaport" ]; then
|
||||||
vestaport=8083
|
vestaport=8083
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue