Also change git-ssb hostname in nginx
This commit is contained in:
parent
0653eae160
commit
3b952162cb
|
@ -508,7 +508,9 @@ function start {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "s|\"host\":.*|\"host\": \"${HOSTNAME}.local\",|g" /etc/scuttlebot/.ssb/config
|
sed -i "s|\"host\":.*|\"host\": \"${HOSTNAME}.local\",|g" /etc/scuttlebot/.ssb/config
|
||||||
|
sed -i "s|server_name .*|server_name ${HOSTNAME}.local;|g" /etc/nginx/sites-available/git_ssb
|
||||||
systemctl restart scuttlebot
|
systemctl restart scuttlebot
|
||||||
|
systemctl restart nginx
|
||||||
|
|
||||||
verify
|
verify
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue