summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorCtrlAltDel64 <54960329+CtrlAltDel64@users.noreply.github.com>2019-10-28 17:12:27 +0100
committerthiagoftsm <thiagoftsm@gmail.com>2019-10-28 16:12:27 +0000
commit9a9bee64e83e5b506e73895fd7525a2c1f8df81f (patch)
tree1e5e14d30b4ec800df9fdee602dc3b397a7c5be7 /docs
parentb3ce23cfa69508425f522b6f7fbbcd1a8dfdf68e (diff)
Suggest using /var/run/netdata for the unix socket (#7206)
* Suggest using /run/netdata for the unix socket Don't use /tmp for unix sockets. '/var/run' is another option for FreeBSD users as they don't have '/run' * Change to /var/run/
Diffstat (limited to 'docs')
-rw-r--r--docs/Running-behind-nginx.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Running-behind-nginx.md b/docs/Running-behind-nginx.md
index cad416263b..99e5e601df 100644
--- a/docs/Running-behind-nginx.md
+++ b/docs/Running-behind-nginx.md
@@ -205,7 +205,7 @@ You can also use a unix domain socket. This will also provide a faster route bet
```
[web]
- bind to = unix:/tmp/netdata.sock
+ bind to = unix:/var/run/netdata/netdata.sock
```
*note: Netdata v1.8+ support unix domain sockets*
@@ -214,7 +214,7 @@ At the Nginx side, use something like this to use the same unix domain socket:
```conf
upstream backend {
- server unix:/tmp/netdata.sock;
+ server unix:/var/run/netdata/netdata.sock;
keepalive 64;
}
```