Contents of .env and server location

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

My server is located at https://NAME.dyndns.org:443 externally but internally
https://192.168.0.46.

I have setup .env to look at NEXTCLOUD_SERVER=https://192.168.0.46

however I get scrape issues, so I then changed the .env file to look at http://192.168.0.46:9100/metrics 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