Grafana running behind subd

Hi, im wondering how to run Grafana on subdomain.
now my grafana is running on production but still using :3000 to access it, lets say

domain,com:3000

but im trying to change it to

dashboard,domain,com

but as im searching the forum, nobody is talking about this, using nginx to reverse proxy using
this documentations to change the grafana from using :3000 to /grafana/

if anyone know or has done this in the past, may i ask you how?

thank you!