Fix branch to init.d & nginx config