Running behind caddy

Costa Tsaousis edited this page Apr 4, 2016 · 3 revisions

General


Running Netdata


Alarms

Backends


Netdata Registry


Monitoring Info


Netdata Badges


Data Collection

Binary Modules

Python Modules

Node.js Modules

BASH Modules


API Documentation


Web Dashboards


Running behind another web server

Advanced configurations


Donations


Blog


Other monitoring tools

Clone this wiki locally

netdata via Caddy

To run netdata via Caddy's proxying, set your Caddyfile up like this:

netdata.domain.tld {
    proxy / localhost:19999
}

Other directives can be added between the curly brackets as needed.

It's easiest to set netdata up as a subdomain rather than as a subdirectory because netdata uses a lot of relative URLs.

limit direct access to netdata

You would also need to instruct netdata to listen only to 127.0.0.1 or ::1.

To limit access to netdata only from localhost, set bind socket to IP = 127.0.0.1 or bind socket to IP = ::1 in /etc/netdata/netdata.conf.