diff --git a/src/freedombone-image-mesh b/src/freedombone-image-mesh index 76d77d9f..e0598dc2 100755 --- a/src/freedombone-image-mesh +++ b/src/freedombone-image-mesh @@ -872,6 +872,7 @@ function mesh_amnesic { function mesh_restart_daemons { systemctl restart avahi-daemon systemctl restart tox-bootstrapd + systemctl restart nginx echo $'Daemons restarted' >> $INSTALL_LOG } @@ -1325,6 +1326,7 @@ function initialise_scuttlebot_pub { # git ssb site if [ -f /etc/nginx/sites-available/git_ssb ]; then + sed -i "s|server_name .*|server_name ${HOSTNAME}.local;|g" /etc/nginx/sites-available/git_ssb ln -s /etc/nginx/sites-available/git_ssb /etc/nginx/sites-enabled/git_ssb fi }