<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 22, 2020 at 4:22 AM deprito <<a href="mailto:nginx-forum@forum.nginx.org">nginx-forum@forum.nginx.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello @arigatox,<br>
<br>
do you mind share with me, how to LB UDP protocol like wireguard?<br>
<br>
My nginx.conf <br>
user www-data;<br>
worker_processes auto;<br>
pid /run/nginx.pid;<br>
include /etc/nginx/modules-enabled/*.conf;<br>
<br>
stream {<br>
<br>
upstream syslog_udp {<br>
server x.x.x.x:51820;<br>
server x.x.x.x:51820;<br>
}<br>
<br>
server {<br>
listen 51820 udp;<br>
proxy_pass syslog_udp;<br>
proxy_responses 0;<br>
}<br>
<br>
<br>
}<br>
<br></blockquote><div><br></div><div>This is hilarious:</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
worker_rlimit_nofile 1000000;<br></blockquote><div><br></div><div>What makes you think your box can handle that many open files? :D</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
events {<br>
<br>
worker_connections 20000;<br>
<br>
}<br>
<br>
<br>
my nginx :<br>
nginx version: nginx/1.16.1<br>
<br>
Posted at Nginx Forum: <a href="https://forum.nginx.org/read.php?2,286837,287751#msg-287751" rel="noreferrer" target="_blank">https://forum.nginx.org/read.php?2,286837,287751#msg-287751</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div></div>