Rendering panels with configured path

Good morning! :slight_smile:

I run grafana behind a nginx proxy that offers an extra path for grafana (http://$domain/grafana).
I have configured grafana so that it can be reached under a path (http://grafana.staged-by-discourse.com/grafana).
For this I have adapted the grafana.ini so that the url matching works.

[server]
protocol = http
http_port = 3000
url_path = /grafana
domain = localhost
enable_gzip = false
root_url = %(protocol)s://%(domain)s:%(http_port)s%(url_path)s

The whole thing works great.

Now I want to use phantomjs to render a static image, which unfortunately doesn’t work.
If I look in the process list, then internally the grafana url is called without the required path:

/usr/share/grafana/tools/phantomjs/phantomjs --ignore-ssl-errors=true --web-security=false --debug=false /usr/share/grafana/tools/phantomjs/render.js url=http://grafana.staged-by-discourse.com/d-solo/qa-test/qa-test?orgId=1&panelId=1&theme=light

Unfortunately, this does not generate an image.

Do I have to configure PhantomJS additionally, or is my approach wrong per se?

I use the latetest official docker container (6.0.1)

Greatings from Hamburg,
Bodo

I think, i have fixed the problem. (layer 8, or so …)