On Wed, Apr 22, 2020 at 4:22 AM deprito <nginx-fo...@forum.nginx.org> wrote:

> Hello @arigatox,
>
> do you mind share with me, how to LB UDP protocol like wireguard?
>
> My nginx.conf
> user www-data;
> worker_processes auto;
> pid /run/nginx.pid;
> include /etc/nginx/modules-enabled/*.conf;
>
> stream {
>
> upstream syslog_udp {
>         server x.x.x.x:51820;
>         server x.x.x.x:51820;
> }
>
> server {
>         listen 51820 udp;
>         proxy_pass syslog_udp;
>         proxy_responses 0;
> }
>
>
> }
>
>
This is hilarious:


>         worker_rlimit_nofile 1000000;
>

What makes you think your box can handle that many open files? :D


>
> events {
>
>         worker_connections 20000;
>
> }
>
>
> my nginx :
> nginx version: nginx/1.16.1
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,286837,287751#msg-287751
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to