Hi All,
In development, session handling works ok. For instance, if I reload a page, the app stays in the page and reloads its content.
However, in production, if I hit reload, the app jumps to the login page. That’s because Meteor.user() becomes undefined after the refresh, which I use to check if there’s an active session present. Meteor.userId() is still valid and correct, but anything depending on Meteor.user() fails.
Production is behind nginx as reverse proxy.
Any ideas/pointers?
Thank you.