summaryrefslogtreecommitdiffstats
path: root/docs/Running-behind-caddy.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-31 12:59:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-31 12:59:21 +0000
commitbb8713bbc1c4594366fc735c04910edbf4c61aab (patch)
treed7da56c0b89aa371dd8ad986995dd145fdf6670a /docs/Running-behind-caddy.md
parentReleasing debian version 1.29.3-4. (diff)
downloadnetdata-bb8713bbc1c4594366fc735c04910edbf4c61aab.tar.xz
netdata-bb8713bbc1c4594366fc735c04910edbf4c61aab.zip
Merging upstream version 1.30.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/Running-behind-caddy.md')
-rw-r--r--docs/Running-behind-caddy.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/Running-behind-caddy.md b/docs/Running-behind-caddy.md
index c1d57504a..a20fd0535 100644
--- a/docs/Running-behind-caddy.md
+++ b/docs/Running-behind-caddy.md
@@ -5,11 +5,11 @@ custom_edit_url: https://github.com/netdata/netdata/edit/master/docs/Running-beh
# Netdata via Caddy
-To run Netdata via [Caddy's proxying,](https://caddyserver.com/docs/proxy) set your Caddyfile up like this:
+To run Netdata via [Caddy v2 proxying,](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy) set your Caddyfile up like this:
```caddyfile
netdata.domain.tld {
- proxy / localhost:19999
+ reverse_proxy localhost:19999
}
```
@@ -19,8 +19,8 @@ To run Netdata in a subfolder:
```caddyfile
netdata.domain.tld {
- proxy /netdata/ localhost:19999 {
- without /netdata
+ handle_path /netdata/* {
+ reverse_proxy localhost:19999
}
}
```