Welcome! Log In Create A New Profile

Advanced

Re: UDP Load balancing - [Solved]

Andrei
April 23, 2020 08:06PM
On Wed, Apr 22, 2020 at 4:22 AM deprito <nginx-forum@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
Subject Author Posted

UDP Load balancing

arigatox January 28, 2020 08:52AM

Re: UDP Load balancing

Roman Arutyunyan January 28, 2020 09:04AM

Re: UDP Load balancing

arigatox January 28, 2020 09:17AM

Re: UDP Load balancing - [Solved]

arigatox January 28, 2020 09:29AM

Re: UDP Load balancing - [Solved]

deprito April 21, 2020 09:22PM

Re: UDP Load balancing - [Solved]

Andrei April 23, 2020 08:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 119
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready