env var for first sucessfull deployment + fix nginx websocket url