master or worker process is responsible for listening the port?

2018-01-24 Thread he.hailong5
Hi, I am keeping add and remove a listening port in and from nignx using "-s reload", and found sometimes this port was listened by master process, sometimes was by a worker process. Is this as expected? Br, Allen___ nginx mailing list ngin

Re: Nginx - Only handles exactly 500 request per second - How to increase the limit?

2018-01-24 Thread Payam Chychi
On Wed, Jan 24, 2018 at 10:50 AM B.R. via nginx wrote: > 500 requests max sounds very much like the default max_requests parameter > from PHP-FPM process manager. > > Btw, the configuration snippet you provided is incomplete (include > [...]/*.conf). How can people help you? > Have a look at ngin

Re: Nginx - Only handles exactly 500 request per second - How to increase the limit?

2018-01-24 Thread B.R. via nginx
500 requests max sounds very much like the default max_requests parameter from PHP-FPM process manager. Btw, the configuration snippet you provided is incomplete (include [...]/*.conf). How can people help you? Have a look at nginx -T. --- *B. R.* On Wed, Jan 24, 2018 at 7:08 AM, Payam Chychi wr

Re: more_set_headers debian

2018-01-24 Thread basti
fixed by myself On 24.01.2018 13:13, basti wrote: > Hello, > > I try to use "more_set_headers" directive in nginx 10.3 on debian. > > Modules are loded. > > ls -la /etc/nginx/modules-enabled/ > lrwxrwxrwx 1 root root 68 Jan 24 12:57 > 50-mod-http-headers-more-filter.conf -> > /usr/share/ngin

more_set_headers debian

2018-01-24 Thread basti
Hello, I try to use "more_set_headers" directive in nginx 10.3 on debian. Modules are loded. ls -la /etc/nginx/modules-enabled/ lrwxrwxrwx 1 root root 68 Jan 24 12:57 50-mod-http-headers-more-filter.conf -> /usr/share/nginx/modules-available/mod-http-headers-more-filter.conf /etc/nginx/sites

DTLS Load Balancing

2018-01-24 Thread Sékine Coulibaly
I've setup a simplisti UDP load balancing as follow : stream { upstream dtls_udp_upstreams { hash $remote_addr:remote_port; server preprod.mycorp.com:5684; } server { listen 5684 udp; proxy_pass dtls_udp_upstreams; proxy_responses 1; } } I notice that the balancing is