Netdata: help|how can I change http://domain.com:19999 to http://sys.domain.com

Created on 24 Jan 2018  路  1Comment  路  Source: netdata/netdata

I can access http://domain.com:19999 and see the dashboard , but if I creat a vhost named http://sys.domain.com and set it's root to /wwwroot/netdata/usr/share/netdata/web , a 405 error will appear , it says "Cannot download charts index from server: http://sys.domain.com/api/v1/charts".
What should I do? help me plz, and thanks a lot.

question

Most helpful comment

About 95% of the actual netdata dashboard id dynamically generated by netdata itself on access through the internal web server, while your design assumes it's static data generated by netdata than written to disk. Instead of trying to serve things yourself, you need to proxy access through your vhost to the netdata URL.

Check:

  • Here if you're using nginx.
  • Here if you're using Apache.
  • Here if you're using lighthttpd.
  • Here if you're using Caddy.

>All comments

About 95% of the actual netdata dashboard id dynamically generated by netdata itself on access through the internal web server, while your design assumes it's static data generated by netdata than written to disk. Instead of trying to serve things yourself, you need to proxy access through your vhost to the netdata URL.

Check:

  • Here if you're using nginx.
  • Here if you're using Apache.
  • Here if you're using lighthttpd.
  • Here if you're using Caddy.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

kenXengineering picture kenXengineering  路  3Comments

jeremyjpj0916 picture jeremyjpj0916  路  3Comments

csadam picture csadam  路  3Comments

BecomeBamboo picture BecomeBamboo  路  3Comments

tern222 picture tern222  路  3Comments