Is it intended? Do I need to redirect from www to non-www to get it working?
8/10 times you have http when you need https or vice versa. Did you double check this?
If not, are you trying with production or are you trying with localhost?
ended up redirecting www to non-www with nginx, is it acceptable?
I’m not the one to ask. My answer would be if it is working, then it works.