# \#nginx

**URL:** https://community.grafana.com/tag/nginx/36.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [Nginx, reverse-proxy subpath failing some requests fails with error 404](https://community.grafana.com/t/nginx-reverse-proxy-subpath-failing-some-requests-fails-with-error-404/126598)

<div class="topic-metadata">

**Author:** [@kennethskov95](https://community.grafana.com/u/kennethskov95)\
**Replies:** 1\
**Last updated:** [December 19, 2025, 12:19am UTC](https://community.grafana.com/t/nginx-reverse-proxy-subpath-failing-some-requests-fails-with-error-404/126598 "2025-12-19T00:19:15Z")

</div>

Hi I’m trying to setup nginx and Grafana with reverse proxy and subpath. Grafana version: v11.1.0 I have followed the guide from here: Run Grafana behind a reverse proxy | Grafana Labs After i login to grafana i see …

---

## [Alloy grpc behind a Nginx Ingress Error FRAME\_SIZE\_ERROR 4740180](https://community.grafana.com/t/alloy-grpc-behind-a-nginx-ingress-error-frame-size-error-4740180/159617)

<div class="topic-metadata">

**Author:** [@gfan8w](https://community.grafana.com/u/gfan8w)\
**Replies:** 5\
**Last updated:** [December 12, 2025, 4:06am UTC](https://community.grafana.com/t/alloy-grpc-behind-a-nginx-ingress-error-frame-size-error-4740180/159617 "2025-12-12T04:06:17Z")

</div>

Alloy grpc behind a Nginx Ingress Error FRAME\_SIZE\_ERROR 4740180 I try to deploy an Alloy via helm and create an Ingress by myself to test. The client send metrics, logs, traces via Opentelemetry collector Java agent. …

---

## [Connection refused while connecting to upstream](https://community.grafana.com/t/connection-refused-while-connecting-to-upstream/156158)

<div class="topic-metadata">

**Author:** [@jhturner900](https://community.grafana.com/u/jhturner900)\
**Replies:** 4\
**Last updated:** [August 14, 2025, 3:56pm UTC](https://community.grafana.com/t/connection-refused-while-connecting-to-upstream/156158 "2025-08-14T15:56:41Z")

</div>

I’m having trouble getting a docker-compose/nginx reverse proxy app going. Here’s the setup: docker-compose.yaml version: '3' services: webserver1: image: nginx ports: - '8080:80' volumes: - …

---

## [Redirection to default dashboard](https://community.grafana.com/t/redirection-to-default-dashboard/155480)

<div class="topic-metadata">

**Author:** [@andresbsas](https://community.grafana.com/u/andresbsas)\
**Replies:** 1\
**Last updated:** [July 31, 2025, 3:35pm UTC](https://community.grafana.com/t/redirection-to-default-dashboard/155480 "2025-07-31T15:35:41Z")

</div>

Hi Grafana team and community, I’m experiencing an issue in Grafana 11.5.0 when using Google OAuth. After some time has passed since logging in, if I try to access a specific dashboard via a direct link, Grafana briefly…

---

## [Redirect loop on /grafana/login](https://community.grafana.com/t/redirect-loop-on-grafana-login/65998)

<div class="topic-metadata">

**Author:** [@surfoo](https://community.grafana.com/u/surfoo)\
**Replies:** 7\
**Last updated:** [June 16, 2025, 12:55pm UTC](https://community.grafana.com/t/redirect-loop-on-grafana-login/65998 "2025-06-16T12:55:02Z")

</div>

Hello, I installed grafana 8.5.3 behind a proxy reverse and in a subdirectory, it works well. But when I run https://www.domain.com/grafana, I’m redirected to https://www.domain.com/grafana/login for ever. (stopped aft…

---

## [Error Page not found running playlist after time (nginx reverse,subdirectory)](https://community.grafana.com/t/error-page-not-found-running-playlist-after-time-nginx-reverse-subdirectory/150196)

<div class="topic-metadata">

**Author:** [@paddif](https://community.grafana.com/u/paddif)\
**Replies:** 0\
**Last updated:** [May 12, 2025, 10:00am UTC](https://community.grafana.com/t/error-page-not-found-running-playlist-after-time-nginx-reverse-subdirectory/150196 "2025-05-12T10:00:41Z")

</div>

What Grafana version and what operating system are you using? 11.6.0 SLES 15 SP6 What are you trying to achieve? Get a 24/7 running playlist How are you trying to achieve it? Proxiing grafana through nginx, st…

---

## [Failed to save dashboard](https://community.grafana.com/t/failed-to-save-dashboard/65617)

<div class="topic-metadata">

**Author:** [@ohAlee](https://community.grafana.com/u/ohAlee)\
**Replies:** 8\
**Last updated:** [February 14, 2025, 8:49pm UTC](https://community.grafana.com/t/failed-to-save-dashboard/65617 "2025-02-14T20:49:06Z")

</div>

What Grafana version and what operating system are you using? self-hosted v8.5.2 - Centos8 Stream I use nginx with the cloudflare reverse proxy What happened? When I add a graph after I have added another 4-5 w…

---

## [NGINX logs are not taken as JSON?](https://community.grafana.com/t/nginx-logs-are-not-taken-as-json/139121)

<div class="topic-metadata">

**Author:** [@vosidach](https://community.grafana.com/u/vosidach)\
**Replies:** 10\
**Last updated:** [December 27, 2024, 4:29am UTC](https://community.grafana.com/t/nginx-logs-are-not-taken-as-json/139121 "2024-12-27T04:29:45Z")

</div>

Hi, need your help. I want to collect logs from web application befing the NGINX. I’ve setup NGINX to save logs in JSON format: log\_format json\_analytics escape=json '{ "msec": "$msec", "connection": "$…

---

## [Grafana behind reverse proxy (nginx) with subpath](https://community.grafana.com/t/grafana-behind-reverse-proxy-nginx-with-subpath/137703)

<div class="topic-metadata">

**Author:** [@twolodzko](https://community.grafana.com/u/twolodzko)\
**Replies:** 22\
**Last updated:** [December 5, 2024, 4:06pm UTC](https://community.grafana.com/t/grafana-behind-reverse-proxy-nginx-with-subpath/137703 "2024-12-05T16:06:15Z")

</div>

What Grafana version and what operating system are you using? Latest grafana/grafana image (version 11.3.1) What are you trying to achieve? Trying to run the example from the official tutorial with redirecting local…

---

## [IP Whitelisting for admin only](https://community.grafana.com/t/ip-whitelisting-for-admin-only/131964)

<div class="topic-metadata">

**Author:** [@juleslaluag](https://community.grafana.com/u/juleslaluag)\
**Replies:** 0\
**Last updated:** [September 12, 2024, 4:30pm UTC](https://community.grafana.com/t/ip-whitelisting-for-admin-only/131964 "2024-09-12T16:30:44Z")

</div>

I have a grafana instance on which I would like to restrict admin interfaces to a set of specific IPs. My grafana instance runs behind an NGINX instance. I have thought of 2 options in order to achieve this : Whiteli…

---

## [Serving from subpath/domain issue when accessing locally](https://community.grafana.com/t/serving-from-subpath-domain-issue-when-accessing-locally/125562)

<div class="topic-metadata">

**Author:** [@max90gill](https://community.grafana.com/u/max90gill)\
**Replies:** 0\
**Last updated:** [July 5, 2024, 12:49pm UTC](https://community.grafana.com/t/serving-from-subpath-domain-issue-when-accessing-locally/125562 "2024-07-05T12:49:25Z")

</div>

Hello, I’m serving via nginx on a single machine two instances of grafana one under /path1 and the other one on /path2. The two instances of grafana are hosted on two different LANs which are accessible locally one anot…

---

## [Embedding Dashboard into Secure Website](https://community.grafana.com/t/embedding-dashboard-into-secure-website/125466)

<div class="topic-metadata">

**Author:** [@stratosemp](https://community.grafana.com/u/stratosemp)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 11:31am UTC](https://community.grafana.com/t/embedding-dashboard-into-secure-website/125466 "2024-07-04T11:31:05Z")

</div>

My company is aiming to create a dashboard that can be accessed privately on a website for our clients. I understand that this wouldn’t be possible with Grafana Cloud and licensing would be necessary, but I saw a blog po…

---

## [Https reverse proxy in nginx](https://community.grafana.com/t/https-reverse-proxy-in-nginx/58654)

<div class="topic-metadata">

**Author:** [@brokentv](https://community.grafana.com/u/brokentv)\
**Replies:** 3\
**Last updated:** [May 7, 2024, 2:20pm UTC](https://community.grafana.com/t/https-reverse-proxy-in-nginx/58654 "2024-05-07T14:20:37Z")

</div>

Hi, I am trying to put grafana behind nginx though reverse proxy. It works for http but I want to use https. Below is my config in nginx and grafana.ini location /grafana/ { proxy\_pass http://grafana.staged-by-discourse.com/ } \[ser…

---

## [Origin not allowed after upgrade to 9.1.6](https://community.grafana.com/t/origin-not-allowed-after-upgrade-to-9-1-6/73358)

<div class="topic-metadata">

**Author:** [@robertojobet](https://community.grafana.com/u/robertojobet)\
**Replies:** 3\
**Last updated:** [March 7, 2024, 7:12pm UTC](https://community.grafana.com/t/origin-not-allowed-after-upgrade-to-9-1-6/73358 "2024-03-07T19:12:20Z")

</div>

Hi, Just upgraded Grafana from 8.2.5 → 9.1.6 and all my dashboards are complaining about an Origin not allowed error. I’m using Nginx 1.18 by the way. Looking into community.grafana.com forum, found out several request…

---

## [Host not found in upstream "grafana" error](https://community.grafana.com/t/host-not-found-in-upstream-grafana-error/115822)

<div class="topic-metadata">

**Author:** [@alakananda2555](https://community.grafana.com/u/alakananda2555)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 7:00pm UTC](https://community.grafana.com/t/host-not-found-in-upstream-grafana-error/115822 "2024-02-29T19:00:14Z")

</div>

I encountered an issue today with the Nginx service running as a container on our Ubuntu 20.04.6 LTS server. The service was in a stopped state, and I had to restart it manually. I’ve attached a snippet from the syslog …

---

## [Is there any working example of embedding iframe to a website, using nginx and jwt and enabled autologin?](https://community.grafana.com/t/is-there-any-working-example-of-embedding-iframe-to-a-website-using-nginx-and-jwt-and-enabled-autologin/114429)

<div class="topic-metadata">

**Author:** [@yrjanajenni](https://community.grafana.com/u/yrjanajenni)\
**Replies:** 0\
**Last updated:** [February 14, 2024, 8:33am UTC](https://community.grafana.com/t/is-there-any-working-example-of-embedding-iframe-to-a-website-using-nginx-and-jwt-and-enabled-autologin/114429 "2024-02-14T08:33:14Z")

</div>

The question is on above: Is there any working example of embedding iframe to third party website and autologin? I’m using nginx in between. I’ve only found bits of information here and there and nothing complete with…

---

## [Adding basic auth to loki using Nginx](https://community.grafana.com/t/adding-basic-auth-to-loki-using-nginx/111549)

<div class="topic-metadata">

**Author:** [@melingody](https://community.grafana.com/u/melingody)\
**Replies:** 4\
**Last updated:** [January 12, 2024, 8:22am UTC](https://community.grafana.com/t/adding-basic-auth-to-loki-using-nginx/111549 "2024-01-12T08:22:22Z")

</div>

I am trying to run loki behind Nginx reverse proxy and add basic authentication with the labels, but stuck with wide range of documentation and no particular solution. Anyone can help me with that. Thank you : )

---

## [Facing issue while Configuring Grafana behind a reverse proxy](https://community.grafana.com/t/facing-issue-while-configuring-grafana-behind-a-reverse-proxy/71452)

<div class="topic-metadata">

**Author:** [@rohitsharma2k122](https://community.grafana.com/u/rohitsharma2k122)\
**Replies:** 9\
**Last updated:** [December 26, 2023, 11:50am UTC](https://community.grafana.com/t/facing-issue-while-configuring-grafana-behind-a-reverse-proxy/71452 "2023-12-26T11:50:39Z")

</div>

Hi Team While configuring Grafana behind a reverse proxy. I am getting 404. I have shared below my changes in configuration file. Please do the needful where am missing. Appreciate your valuable input on this, Grafana …

---

## [Grafana behind nginx proxy](https://community.grafana.com/t/grafana-behind-nginx-proxy/109781)

<div class="topic-metadata">

**Author:** [@ilijamt1](https://community.grafana.com/u/ilijamt1)\
**Replies:** 3\
**Last updated:** [December 21, 2023, 9:08am UTC](https://community.grafana.com/t/grafana-behind-nginx-proxy/109781 "2023-12-21T09:08:10Z")

</div>

What Grafana version and what operating system are you using? Chrome: Version 119.0.6045.199 (Official Build) (arm64) OS: Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bo…

---

## [\[BUG\] Data inconsistency in Loki NGINX dashboard](https://community.grafana.com/t/bug-data-inconsistency-in-loki-nginx-dashboard/107477)

<div class="topic-metadata">

**Author:** [@stefanoc](https://community.grafana.com/u/stefanoc)\
**Replies:** 4\
**Last updated:** [November 29, 2023, 11:46am UTC](https://community.grafana.com/t/bug-data-inconsistency-in-loki-nginx-dashboard/107477 "2023-11-29T11:46:02Z")

</div>

Hi, I tried to create a Loki NGINX dashboard, similar to this one Grafana, but I noticed some troubles with some panel and their query results. First of all, I removed relative time in total request panel and this is w…

---

## [Redirect Loop with nginx ingress & Kubernetes and url-subpath](https://community.grafana.com/t/redirect-loop-with-nginx-ingress-kubernetes-and-url-subpath/106343)

<div class="topic-metadata">

**Author:** [@bigflagburito](https://community.grafana.com/u/bigflagburito)\
**Replies:** 1\
**Last updated:** [October 26, 2023, 9:15am UTC](https://community.grafana.com/t/redirect-loop-with-nginx-ingress-kubernetes-and-url-subpath/106343 "2023-10-26T09:15:18Z")

</div>

What Grafana version and what operating system are you using? grafana/grafana Version 10.1.5 What are you trying to achieve? I would like to be able to access Grafana when I go to url/grafana. How are you tryin…

---

## [Invalid number of logs](https://community.grafana.com/t/invalid-number-of-logs/104167)

<div class="topic-metadata">

**Author:** [@abirvalg](https://community.grafana.com/u/abirvalg)\
**Replies:** 1\
**Last updated:** [September 24, 2023, 11:32am UTC](https://community.grafana.com/t/invalid-number-of-logs/104167 "2023-09-24T11:32:26Z")

</div>

I have nginx logs in JSON format and loki with promtail which imports those logs. Everything worked fine until I notices some strange spikes of traffic in grafana charts. I manually checked log files and found that when …

---

## [Nginx configuration for grafana https request](https://community.grafana.com/t/nginx-configuration-for-grafana-https-request/103082)

<div class="topic-metadata">

**Author:** [@sanmh94](https://community.grafana.com/u/sanmh94)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 12:08pm UTC](https://community.grafana.com/t/nginx-configuration-for-grafana-https-request/103082 "2023-09-07T12:08:39Z")

</div>

I am trying to configurate a proxy in nginx.conf for grafana request. My request it will be like: the request will work with https https//:ip/grafana/.............. and the request from which is being working is https…

---

## [Grafana dashboards on IFRAME and reverse proxy with auth.proxy](https://community.grafana.com/t/grafana-dashboards-on-iframe-and-reverse-proxy-with-auth-proxy/74484)

<div class="topic-metadata">

**Author:** [@then1ght](https://community.grafana.com/u/then1ght)\
**Replies:** 2\
**Last updated:** [August 29, 2023, 10:20am UTC](https://community.grafana.com/t/grafana-dashboards-on-iframe-and-reverse-proxy-with-auth-proxy/74484 "2023-08-29T10:20:33Z")

</div>

What Grafana version and what operating system are you using? Grafana OSS Version 9.2.0 What are you trying to achieve? I’m trying to embed Grafana dashboards in an Iframe of a React UI using nginx as reverse-prox…

---

## [Configuration of nginx as a reverse proxy for verify a Json web token of my own website and logging in grafana as a SSO](https://community.grafana.com/t/configuration-of-nginx-as-a-reverse-proxy-for-verify-a-json-web-token-of-my-own-website-and-logging-in-grafana-as-a-sso/90297)

<div class="topic-metadata">

**Author:** [@tramuntanard](https://community.grafana.com/u/tramuntanard)\
**Replies:** 1\
**Last updated:** [August 2, 2023, 7:16pm UTC](https://community.grafana.com/t/configuration-of-nginx-as-a-reverse-proxy-for-verify-a-json-web-token-of-my-own-website-and-logging-in-grafana-as-a-sso/90297 "2023-08-02T19:16:55Z")

</div>

Hi i’m tying to configurate a nginx reverse-proxy funcionality to get an JWT created in my website during the log in. the JWT is send as a Bearer in the autorization header, but it doesn’t work, my response all the time …

---

## [Ngnix config: 502 gateway error](https://community.grafana.com/t/ngnix-config-502-gateway-error/100022)

<div class="topic-metadata">

**Author:** [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Replies:** 4\
**Last updated:** [July 28, 2023, 5:35pm UTC](https://community.grafana.com/t/ngnix-config-502-gateway-error/100022 "2023-07-28T17:35:46Z")

</div>

Greetings I am trying spin a simple ngnix container to run as proxy for my grafana on windows machine. This is what I have but I seem to be stuck per Run Grafana behind a reverse proxy | Grafana Labs events { worker…

---

## [Loki Behind reverse proxy 404](https://community.grafana.com/t/loki-behind-reverse-proxy-404/89592)

<div class="topic-metadata">

**Author:** [@giovannihenrique1989](https://community.grafana.com/u/giovannihenrique1989)\
**Replies:** 0\
**Last updated:** [June 14, 2023, 1:28pm UTC](https://community.grafana.com/t/loki-behind-reverse-proxy-404/89592 "2023-06-14T13:28:23Z")

</div>

Hi there, I’m facing a really annoying error when setting up my grafana stack server. I have a nginx reverse proxying for multiple applications that I’ve setted up. here’s my proxy.conf: upstream grafana { server loc…

---

## [Nginx 403 forbidden on static files using link\_secure with grafana](https://community.grafana.com/t/nginx-403-forbidden-on-static-files-using-link-secure-with-grafana/89491)

<div class="topic-metadata">

**Author:** [@saqygee](https://community.grafana.com/u/saqygee)\
**Replies:** 0\
**Last updated:** [June 13, 2023, 7:49am UTC](https://community.grafana.com/t/nginx-403-forbidden-on-static-files-using-link-secure-with-grafana/89491 "2023-06-13T07:49:32Z")

</div>

I am trying to configure auto login using nginx as auth proxy, I am successfully able to authenticate but my problem comes when grafana loads all static files are 401. my nginx configuration #i also tried /grafana by e…

---

## [Error 403 with NGINX](https://community.grafana.com/t/error-403-with-nginx/86834)

<div class="topic-metadata">

**Author:** [@kodsama](https://community.grafana.com/u/kodsama)\
**Replies:** 11\
**Last updated:** [May 3, 2023, 8:10pm UTC](https://community.grafana.com/t/error-403-with-nginx/86834 "2023-05-03T20:10:40Z")

</div>

Hi all, I am sorry for the 100th topic regarding this, but I haven’t found the solution so far. What? I can access the page without problem with http://my\_server\_ip:3000 but https://grafana.my\_domain.com just returns …

---

## [Failed configuration with Nginx as Reverse Proxy](https://community.grafana.com/t/failed-configuration-with-nginx-as-reverse-proxy/83670)

<div class="topic-metadata">

**Author:** [@danieleuboldi](https://community.grafana.com/u/danieleuboldi)\
**Replies:** 0\
**Last updated:** [March 13, 2023, 9:59am UTC](https://community.grafana.com/t/failed-configuration-with-nginx-as-reverse-proxy/83670 "2023-03-13T09:59:09Z")

</div>

What Grafana version and what operating system are you using? OS: Red Hat Enterprise Linux 8.6 Grafana version: 9.4.3 What are you trying to achieve? I’m trying to expose Grafana @ http://my\_domain/grafana How …

[Next page](https://community.grafana.com/tag/nginx/36.md?match_all_tags=true&page=1&tags%5B%5D=nginx)
