0

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 &quot;Administrator’s Area&quot;;
    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

1 Answers1

0

We have created a tutorial on how to setup nginx as reverse proxy and authorization gateway for netdata.

If you have any further question, I would be happy to reply!

You can also join our little community at https://community.netdata.cloud