Skip to content

Instantly share code, notes, and snippets.

@feroda
feroda / django-grafana-proxy.py
Created February 11, 2018 20:47
Django reverse proxy for Grafana SSO
"""
## Install the Django reverse proxy package: `pip install django-revproxy`
## Enable auth.proxy authentication in Grafana like the following
```
[auth.proxy]
enabled = true
header_name = X-WEBAUTH-USER
header_property = username