I run netdata on my server to monitor it. Therefore I use an NGINX Reverse Proxy together with Letsencrypt and the Authorization feature of NGINX to make it accessible via the internet.
upstream netdata {
server localhost:19999;
keepalive 64;
}
server {
server_name netdata.<mydomain>;
access_log /var/log/nginx/netdata-access.log combined;
error_log /var/log/nginx/netdata-error.log error;
location / {
proxy_pass http://netdata;
auth_basic "Administrator’s Area";
auth_basic_user_file /etc/nginx/.htpasswd;
}
#... Here is the Letsencrypt generated stuf
}
Most of the time when I call the website netdata loads either very slow or not at all. Sometimes it loads.
When I look in the error logs, I see the following but do not know how to resolve that issue.
*66 upstream timed out (110: Unknown error) while connecting to upstream