I have an nginx reverse proxy to my grafana instance running on port 3000. The URL is standrad https running on port 443. However will append :3000 to the URL and break the URL if you change the current organization.
the url becomes like https://dash.example.com:3000/dashboards
My ini contains this:
# The http port to use
;http_port = 3000
# The public facing domain name used to access grafana from a browser
domain = dash.example.com
nginx:
server {
proxy_set_header Host $http_host;
server_name dash.example.com;
location / {
proxy_pass http://10.0.0.1:3000;
}