Any ideas why nginx/grafana acts like this?
Grafana login page works…
Writing login page Admin username and password
Does not apply or change anything… Clicking Skip…
version: * [Grafana v11.3.0+security-01 (5ddc329279)]
Configuration for Nginx
location /grafana {
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# This is required to proxy Grafana Live WebSocket connections.
location /grafana/api/live/ {
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://localhost:3000;
}
Grafana.ini
instance_name = ${HOSTNAME}
[paths]
Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
data = /var/lib/grafana
Temporary files in data
directory older than given duration will be removed
temp_data_lifetime = 24h
Directory where grafana can store logs
logs = /var/log/grafana
Directory where grafana will automatically scan and look for plugins
;plugins = /var/lib/grafana/plugins
;provisioning = conf/provisioning
[server]
;protocol = http
;min_tls_version = “”
;http_addr =
;http_port = 3000
;domain = localhost
;enforce_domain = false
root_url = %(protocol)s://%(domain)s:%(http_port)s/grafana/
;serve_from_sub_path = true
router_logging = true