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

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? >

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

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 -> >

Re: NGINX PLUS + MP4 to HLS (m3u8)

2018-01-24 Thread Rusrich
Максим, спасибо огромное. Выручили сильно. Заработало. Правда плеер не обрабатывает почему-то, но буду разбираться. С уважением. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278258,278262#msg-278262 ___ nginx-ru mailing list

Re: NGINX PLUS + MP4 to HLS (m3u8)

2018-01-24 Thread Maxim Dounin
Hello! On Wed, Jan 24, 2018 at 08:24:25AM -0500, Rusrich wrote: > Файловое хранилище содержит mp4 файлы. > Просмотр видеоконтента осуществляется с помощью html5 плеера версии > Flowplayer. > > Подскажите, как правильно настроить nginx, чтобы формировался плейлист m3u8 > для каждого mp4 файла. >

Re: Fwd: nginx.conf + Location + regular expression

2018-01-24 Thread Sergey Brester
Although you've used a wrong list for your question (this is development mailing list not a forum for howto's), but because I've ATM a free minute, here you go: You CANNOT use variables in nginx location [2] uri-pattern (no matter regexp or static URI), so the following code: ``` location

Re: Fwd: nginx.conf + Location + regular expression

2018-01-24 Thread Maxim Dounin
Hello! On Wed, Jan 24, 2018 at 02:27:18PM +0100, fx.ju...@free.fr wrote: > Hello nginx DEV TEAM ! How are you ? > > I would like to know how can I do to detect this type of > directory name with regexp : (Guid 8-4-4-4-12) => > “be93d4d0-b25b-de94-fcbb-463e6c0fe9cc” This is a mailing list

Fwd: nginx.conf + Location + regular expression

2018-01-24 Thread fx . juhel
Hello nginx DEV TEAM ! How are you ? I would like to know how can I do to detect this type of directory name with regexp : (Guid 8-4-4-4-12) => “be93d4d0-b25b-de94-fcbb-463e6c0fe9cc” How can I use $reg_exp in location I do this : set $reg_exp

NGINX PLUS + MP4 to HLS (m3u8)

2018-01-24 Thread Rusrich
Файловое хранилище содержит mp4 файлы. Просмотр видеоконтента осуществляется с помощью html5 плеера версии Flowplayer. Подскажите, как правильно настроить nginx, чтобы формировался плейлист m3u8 для каждого mp4 файла. Файлы находятся в директории site.ru/tv/media/ Ссылка на видеофайл

Fwd: nginx.conf + Location + regular expression

2018-01-24 Thread fx . juhel
Hello nginx DEV TEAM ! How are you ? I would like to know how can I do to detect this type of directory name with regexp : (Guid 8-4-4-4-12) => “be93d4d0-b25b-de94-fcbb-463e6c0fe9cc” How can I use $reg_exp in location I do this : set $reg_exp

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

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