-
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, starting playlist via Grafana Kiosk Software from github -
What happened?
Playlist fails after some time with error “Page Not Found” and i can see that it switches address from /grafana to /grafana/grafana
-
What did you expect to happen?
Playlist to function normally without crashing -
Can you copy/paste the configuration(s) that you are having problems with?
nginx config:
location ~/grafana(.*)$ {
rewrite ^/grafana/(.*) /$1 break;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:3000;
proxy_connect_timeout 7d;
proxy_send_timeout 7d;
proxy_read_timeout 7d;
}
# Proxy Grafana Live WebSocket connections.
location /grafana/api/live/ {
rewrite ^/grafana/(.*) /$1 break;
proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:3000;
proxy_connect_timeout 7d;
proxy_send_timeout 7d;
proxy_read_timeout 7d;
}
Grafana.ini
[server]
# Protocol (http, https, socket)
protocol = http
# The ip address to bind to, empty will bind to all interfaces
#http_addr = 127.0.0.1
# The http port to use
;http_port = 3000
# The public facing domain name used to access grafana from a browser
domain = server.abc.de
# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
;enforce_domain = false
# The full public facing url you use in browser, used for redirects and emails
# If you use reverse proxy and sub path specify full url (with sub path)
root_url = https://server.abc.de/grafana/
serve_from_sub_path = false
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
Grafana UI: Page not found -
Did you follow any online instructions? If so, what is the URL?
Run Grafana behind a reverse proxy | Grafana Labs