diff --git a/src/freedombone-mesh-batman b/src/freedombone-mesh-batman index 47dfb143..a1268b37 100755 --- a/src/freedombone-mesh-batman +++ b/src/freedombone-mesh-batman @@ -508,7 +508,9 @@ function start { fi 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 nginx verify }