# Grafana append port 3000 to URL when changing organization

**URL:** <https://community.grafana.com/t/grafana-append-port-3000-to-url-when-changing-organization/136904>\
**Category:** Configuration\
**Created:** [November 22, 2024, 1:02pm UTC](https://community.grafana.com/t/grafana-append-port-3000-to-url-when-changing-organization/136904 "2024-11-22T13:02:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johanj93](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@johanj93](https://community.grafana.com/u/johanj93)\
**Post date:** [November 22, 2024, 1:02pm UTC](https://community.grafana.com/t/grafana-append-port-3000-to-url-when-changing-organization/136904/1 "2024-11-22T13:02:23Z")

</div>

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:

```auto
# 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:

```auto
server {
    proxy_set_header Host $http_host;
    server_name dash.example.com;
    location / {
        proxy_pass http://10.0.0.1:3000;
    }

```

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [November 22, 2024, 1:30pm UTC](https://community.grafana.com/t/grafana-append-port-3000-to-url-when-changing-organization/136904/2 "2024-11-22T13:30:01Z")

</div>

> **[Run Grafana behind a reverse proxy | Grafana Labs](https://grafana.com/tutorials/run-grafana-behind-a-proxy/)**
>
> Learn how to run Grafana behind a reverse proxy

> Note
> 
> If nginx is performing TLS termination, then you must set the `root_url` and `protocol` configuration accordingly. If you’re serving Grafana from `https://example.com/grafana/` then the `root_url` is `https://example.com/grafana/` or `https://%(domain)s/grafana/` with the corresponding `domain` configuration value set to `example.com` in the `server` section of the Grafana configuration file. Set `protocol` to `http`.

---

<div class="post-metadata">

**Author:** ![spinitom](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@spinitom](https://community.grafana.com/u/spinitom)\
**Post date:** [July 15, 2025, 1:32pm UTC](https://community.grafana.com/t/grafana-append-port-3000-to-url-when-changing-organization/136904/3 "2025-07-15T13:32:45Z")

</div>

I do not understand the **Note** here. Are `root_url` and `protocol` configuration something in nginx? I find no documentation of them.
