I run a go-ipfs server with a websocket.
I enable wss via a Nginx proxy to that websocket.
I connect the browser via wss (with js-ipfs).
In the browser I request a file and when it is in the cache of my server, the browser gets it fine.
But when the browsers requests a file that is not in the server cache, the browser never gets the file.
If i request the file in another browser via the gateway on the server at 8080, I do get the file. And of course it is then also in the cache. So when I then try to get it in the browser via wss, I do get the file.
Thanx for any help!