0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-27 06:10:43 +00:00
netdata_netdata/docs/Running-behind-caddy.md
Fotis Voutsas 0541c97e53
Introduce the new Structure of the documentation ()
* Moving the cloud docs under /docs/cloud (previous location: netdata/learn/*)
* Added metadata on almost every document of the old learn site for the new ingest process of learn. 
* Map old learn document to their best fit as topic related docs.

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
Co-authored-by: DShreve2 <david@netdata.cloud>
Co-authored-by: hugovalente-pm <hugo@netdata.cloud>
2023-01-25 15:29:33 +02:00

993 B

Netdata via Caddy

To run Netdata via Caddy v2 proxying, set your Caddyfile up like this:

netdata.domain.tld {
    reverse_proxy localhost:19999
}

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

To run Netdata in a subfolder:

netdata.domain.tld {
    handle_path /netdata/* {
        reverse_proxy localhost:19999
    }
}

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.