Grafana in an nginx reverse proxy dont show the live data, even from testdb data resource

Sounds right.

With the TestDB, did you choose the Streaming Client option?

Does the server have a firewall or anything else that might be preventing websocket connections? Do you see any errors in the browser console or in the Grafana server logs?

Do you see a Websocket connection on the network tab in your browser dev tools?