Difference between revisions of "Grafana"
Jump to navigation
Jump to search
(Created page with " == Setting up for reverse proxy == Open a console into container. nano /usr/share/grafana/conf/defaults.ini Restart container") |
|||
Line 4: | Line 4: | ||
nano /usr/share/grafana/conf/defaults.ini | nano /usr/share/grafana/conf/defaults.ini | ||
Scroll down and alter to... | |||
<pre> | |||
# The public facing domain name used to access grafana from a browser | |||
domain = hwwiki.ddns.net | |||
# Redirect to correct domain if host header does not match domain | |||
# Prevents DNS rebinding attacks | |||
enforce_domain = false | |||
# The full public facing url | |||
#root_url = %(protocol)s://%(domain)s:%(http_port)s/ | |||
root_url = %(protocol)s://%(domain)s:/dashboard/ | |||
# Serve Grafana from subpath specified in `root_url` setting. By default it is set to `false` for compatibility reasons. | |||
serve_from_sub_path = true | |||
</pre> | |||
Restart container | Restart container |
Revision as of 19:51, 21 September 2022
Setting up for reverse proxy
Open a console into container.
nano /usr/share/grafana/conf/defaults.ini
Scroll down and alter to...
# The public facing domain name used to access grafana from a browser domain = hwwiki.ddns.net # Redirect to correct domain if host header does not match domain # Prevents DNS rebinding attacks enforce_domain = false # The full public facing url #root_url = %(protocol)s://%(domain)s:%(http_port)s/ root_url = %(protocol)s://%(domain)s:/dashboard/ # Serve Grafana from subpath specified in `root_url` setting. By default it is set to `false` for compatibility reasons. serve_from_sub_path = true
Restart container