From 4cc0d2072994da0685e5ee552f6395d4315cf082 Mon Sep 17 00:00:00 2001 From: getzze Date: Sat, 31 Jul 2021 19:41:13 +0100 Subject: [PATCH] Update README.md Do not modify `yunohost_admin.conf` (diagnostic is always showing an error otherwise), instead create an extra file that is automatically imported. Update the URL (is it the correct one?). --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 135c285..f70f533 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,9 @@ disrupting their core function._ We don't allow YunoHost packages to make changes to sensitive system files. So here are further customizations you can make to allow more monitoring: * Nginx: - * requests/connections: follow [these recommandations](https://github.com/firehol/netdata/tree/master/python.d#nginx) to enable `/stab_status`; for example by putting this `location` section in `/etc/nginx/conf.d/yunohost_admin.conf`: + * requests/connections: follow [these recommandations](https://github.com/netdata/netdata/tree/master/collectors/python.d.plugin/nginx) to enable `/stab_status`; for example by creating the file `/etc/nginx/conf.d/default.d/netdat_stub.conf` with the following content: ``` +# For Netdata location /stub_status { stub_status on; # Security: Only allow access from the IP below. @@ -36,7 +37,7 @@ location /stub_status { deny all; } ``` - * weblogs: you can monitor all your nginx weblogs for errors; follow [these recommendations](https://github.com/firehol/netdata/tree/master/python.d#nginx_log) +* weblogs: you can monitor all your nginx weblogs for errors; follow [these recommendations](https://github.com/firehol/netdata/tree/master/python.d#nginx_log) * phpfpm: follow [these recommandations](https://github.com/firehol/netdata/tree/master/python.d#phpfpm) * NetData registry: set the instance as its own NetData registry server to avoid leaking any information by default