UDP Load balancing - [Solved]

Andrei lagged at gmail.com
Fri Apr 24 00:05:24 UTC 2020


On Wed, Apr 22, 2020 at 4:22 AM deprito <nginx-forum at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20200424/8084eea1/attachment.htm>


More information about the nginx mailing list