I assume that’s because your nginx is listening to the same 80 port as the app (well maybe not, I read too fast and didn’t see the VM part of the problem ), using the web.socketed template should solve it (and the use of https).