Anyone?

On Wed, Feb 19, 2020, 5:25 PM satay <nginx-forum@forum.nginx.org> wrote:
Hi Maxim,

Thanks for responding. I agree with your recommendation.  I guess a direct
upgrade from 1.12  to 1.16 (free community version) is possible and
shouldn't break it.

I'm preferring 1.61 since it's the latest stable version.  Beside the
upgrade, do you recommend any performance tuning should be done?

Thanks


FYI - This is the error I see in the "dns.log" occurring frequently.

2020/02/19 16:47:28 [error] 19509#0: *4852298929 no live upstreams while
connecting to upstream, udp client: x.x.x.x, server: 0.0.0.0:53, upstream:
"dns_servers", bytes from/to client:50/0, bytes from/to upstream:0/0

This is the nginx.conf ---


worker_processes auto;
error_log /var/log/nginx/error.log;

include /usr/share/nginx/modules/*.conf;

events {
}

stream {
    upstream dns_servers {
        server x.x.x.x:53 fail_timeout=60s;
        server x.x.x.x:53 fail_timeout=60s;
        server x.x.x.x:53 fail_timeout=60s;
    }
    server {
        listen 53  udp;
        listen 53; #tcp
        proxy_pass dns_servers;
        error_log  /var/log/nginx/dns.log info;
        proxy_responses 1;
        proxy_timeout   5s;
    }
}

http {
index index.html;
server {
listen 80 default_server;
server_name _;
access_log /var/log/nginx/access.log;
server_name_in_redirect off;
root  /var/www/default/htdocs;
allow x.x.x.x;
deny all;
location /nginx_status {
    stub_status on;
    access_log off;
}
}
}

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287053,287069#msg-287069

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx