Here is a config for accessing Netdata in a suburl via lighttpd 1.4.46 and newer:
If you have older lighttpd you have to use a chain (such as bellow), as explained at this stackoverflow answer.
If the only thing the server is exposing via the web is Netdata (and thus no suburl rewriting required), then you can get away with just
Though if it's public facing you might then want to put some authentication on it. htdigest support looks like:
other auth methods, and more info on htdigest, can be found in lighttpd's mod_auth docs.
It seems that lighttpd (or some versions of it), fail to proxy compressed web responses. To solve this issue, disable web response compression in Netdata.
/etc/netdata/netdata.conf and set in [global]\:
You would also need to instruct Netdata to listen only to
To limit access to Netdata only from localhost, set
bind socket to IP = 127.0.0.1 or
bind socket to IP = ::1 in