aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/html.inc.php
diff options
context:
space:
mode:
authorPeter Wu2014-08-10 11:41:20 +0200
committerPeter Wu2014-08-10 12:42:51 +0200
commit57f657ddc06324416cef912dc691fffde6753206 (patch)
tree73a02a6cc49e063abeda98e3d81e061be8fb42be /inc/html.inc.php
parentMerge (a)sync code, reformat CGP.js (diff)
downloadapt-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 '')
0 files changed, 0 insertions, 0 deletions