diff options
| author | Niklas Hambüchen <mail@nh2.me> | 2019-01-10 03:48:42 +0100 |
|---|---|---|
| committer | Kerstin <kerstin@erictapen.name> | 2021-11-01 23:20:40 +0100 |
| commit | 17e4387b38ad35e2ba4fb8101d3cf36ccc14232f (patch) | |
| tree | 71d3ac4b96d4a1366da60bcc5032540d1239639c /pkgs/development/python-modules/rangehttpserver | |
| parent | 2760695df0bae341cc7f345593628d9c19af9007 (diff) | |
nixos/smokeping: Make default imgUrl relative.
This avoids a common problem:
Until now, port forwarding to multiple hosts running smokeping did not work;
they all show the data of the first smokeping instance.
That ws because the image URLs generated by smokeping are absolute
(`imgurl` setting).
Consequently, if you ran
ssh node-1 -L 8081:localhost:8081
ssh node-2 -L 8081:localhost:8082
ssh node-3 -L 8081:localhost:8083
and try to open http://localhost:8081, http://localhost:8082 and
http://localhost:8083, they all would show the images of node-1!
Using a relative `imgurl` fixes that.
As per smokeping docs on `imgurl`:
> Either an absolute URL to the `imgcache` directory or one relative to the
> directory where you keep the SmokePing cgi.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
