Page is blank after login on Safari

I just set up a Mastodon instance. It works perfectly OK on Chrome. But on Safari, the page becomes blank after login (actually there is a light blue background but nothing else). This is the error logged in the console. Could anyone help on this problem? Thanks a lot.

Refused to connect to wss://mydomain.com/api/v1/streaming/?stream=user because it does not appear in the connect-src directive of the Content Security Policy.

I didn’t correctly confirgure the connect-src in Nginx. After changing that, it works now. What it’s interesting that it can work on Chrome even if the configuration was wrong.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.