IzakMarais / reporter

Service that generates a PDF report from a Grafana dashboard
Apache License 2.0
947 stars 307 forks source link

serving under context path #298

Open FStefanni opened 3 years ago

FStefanni commented 3 years ago

Hi,

this is a feature request. It would be nice to be able to run the server under a user-defined context path, instead of the root path.

So for example, instead of:

/api/v5/report/{dashboardUID}

something like:

/{contextPath}/api/v5/report/{dashboardUID}

The context path could be specified as a command line flag, e.g. --subpath. This feature is useful in combination with reverse proxies and complex setups.

Regards.