@cryptotaxi247 / netdata-1 / commits / 9a9bee64e

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/

CtrlAltDel64 committed Oct 28, 2019 at 17:12 UTC 9a9bee64e83e5b506e73895fd7525a2c1f8df81f
1 file changed +2 -2
docs/Running-behind-nginx.md
+2 -2
@@ -205,7 +205,7 @@ You can also use a unix domain socket. This will also provide a faster route bet
205
206 ```
207 [web]
208 - bind to = unix:/tmp/netdata.sock
208 + bind to = unix:/var/run/netdata/netdata.sock
209 ```
210
211 *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:
214
215 ```conf
216 upstream backend {
217 - server unix:/tmp/netdata.sock;
217 + server unix:/var/run/netdata/netdata.sock;
218 keepalive 64;
219 }
220 ```