Contents of .env and server location

Hi, I’ve been pulling my har out trying to display metrics.

My server is located at externally but internally

I have setup .env to look at NEXTCLOUD_SERVER=

however I get scrape issues, so I then changed the .env file to look at but now the Grafana data just keeps refreshing and I get unexpected error? but nothing is displayed. Can someone please post the contents of the .env file (removing sensitive data) as I’m sure this is why I can’t get my metrics to display. Token is correct, metrics username and password are correct is there a port number I need to define to receive metrics? I have tried both internal but neither show any NextClous Pi data.

Thanks, Spencerino