rrd: Fix urls links in case we are under a subdomain

Hi,

I've adapted your project for the university of Luxembourg to monitor our nodes and I've managed to make the rrd plugin works under a subdomain with a reverse proxy with this commit.

Best regards,

Ludovic Schoepps.