So I have a website (I'm using nginx). I can connect to https://example.com just fine. But if I connect to https://www.example.com then it says something about the connection is encrypted but there is resources on the page that are not. There are no resources on the page (and the pages are exactly the same whether they have 'www' or not).
The only thing I can figure is that maybe somehow cookies aren't encrypted?
How can I figure out the problem and how can I solve it (I need to figure out the problem first of course).