diff options
author | Peter Wu | 2014-08-10 11:41:20 +0200 |
---|---|---|
committer | Peter Wu | 2014-08-10 12:42:51 +0200 |
commit | 57f657ddc06324416cef912dc691fffde6753206 (patch) | |
tree | 73a02a6cc49e063abeda98e3d81e061be8fb42be /doc/LICENSE | |
parent | Merge (a)sync code, reformat CGP.js (diff) | |
download | apt-panopticon_cgp-57f657ddc06324416cef912dc691fffde6753206.zip apt-panopticon_cgp-57f657ddc06324416cef912dc691fffde6753206.tar.gz apt-panopticon_cgp-57f657ddc06324416cef912dc691fffde6753206.tar.bz2 apt-panopticon_cgp-57f657ddc06324416cef912dc691fffde6753206.tar.xz |
Support customized RRD URLs
Use case: I would like to bypass PHP for serving the RRD files and allow
the webserver (nginx) to compress it to reduce load on the Raspberry Pi.
I could go through all kinds of URL rewriting, but it is much easier to
set `$CONFIG['rrd_url'] = 'rrd/{file}';` instead and add a corresponding
location + alias directive to the nginx configuration.
This depends on https://github.com/manuelluis/jsrrdgraph/pull/17 to
avoid breaking on '='.
Diffstat (limited to 'doc/LICENSE')
0 files changed, 0 insertions, 0 deletions