Incredibly freaky: I had a problem in which the "Welcome to nginx!" page was showing instead of a web page of one of my apps. I was debugging nginx config stuff, then it occurred to me to check the index.html of the page that should have been rendered.
It had been replaced by the nginx welcome page.
I have no idea how that could happen.
After I resynced the app, everything worked again.