push directive is forcing local stream to fail

2018-04-12 Thread Vieri via nginx
Hi, I have RTMP clients streaming to my local nginx-rtmp server so others can view the stream via HTTP (HLS and DASH). I also push the RTMP stream to Youtube on a live channel. Pushing the stream to Youtube should be optional, in my case. In other words, if that fails for whatever reason, the

RE: sub_filter (CSS,JS)

2018-04-12 Thread Reinis Rozitis
> It's working really well, but the issue is, references to their domain aren't > being filtered inside their CSS or JS files which are also loading via the > proxy URL. Typically it means that the response from the upstream comes compressed (gzipped) and sub_filter module doesn't handle that.

unknown directive "js_include"

2018-04-12 Thread Dineshkumar
Hi All, Im getting the following error when using nginscript module in RHEL 5 server. nginx: [emerg] unknown directive "js_include" in /etc/nginx/nginx.conf:13 Installed the nginx using the following RPM https://nginx.org/packages/rhel/5/x86_64/RPMS/nginx-1.10.0-1.el5.ngx.x86_64.rpm Installed th

Re: unknown directive "js_include"

2018-04-12 Thread Dmitry Volyntsev
On 12.04.2018 17:17, Dineshkumar wrote: Hi All, Im getting the following error when using nginscript module in RHEL 5 server. nginx: [emerg] unknown directive "js_include" in /etc/nginx/nginx.conf:13 Installed the nginx using the following RPM https://nginx.org/packages/rhel/5/x86_64/RPMS/ngi

Re: unknown directive "js_include"

2018-04-12 Thread Dineshkumar
Hi Dmitry, The module has been loaded in the nginx.conf file using the following load_module modules/ngx_http_js_module.so; and the compile module files are available in the path as well. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279415,279417#msg-279417 ___

Is the auto parameter of the worker_processes directive planned to support the Docker runtime?

2018-04-12 Thread agile6v
Hi, Maxim Dounin Currently obtaining the number of CPU cores in Docker actually obtains the number of CPU cores for the host, resulting in that the number of processes started by "worker_processes auto" cannot match the CPU resources requested by the container itself. For example, if the host ha

Re: unknown directive "js_include"

2018-04-12 Thread Dmitry Volyntsev
On 12.04.2018 17:28, Dineshkumar wrote: Hi Dmitry, The module has been loaded in the nginx.conf file using the following load_module modules/ngx_http_js_module.so; and the compile module files are available in the path as well. Please note that RHEL5 packets are outdated (js_include was not

Re: Is the auto parameter of the worker_processes directive planned to support the Docker runtime?

2018-04-12 Thread Maxim Dounin
Hello! On Thu, Apr 12, 2018 at 10:33:36AM -0400, agile6v wrote: > Hi, Maxim Dounin > > Currently obtaining the number of CPU cores in Docker actually obtains the > number of CPU cores for the host, resulting in that the number of processes > started by "worker_processes auto" cannot match the CP

Unit 1.0 release

2018-04-12 Thread Valentin V. Bartenev
Hello, I'm happy to congratulate you on International Day of Human Space Flight and glad to announce the release of NGINX Unit 1.0. Changes with Unit 1.012 Apr 2018 *) Change: configuration object moved into "/config/" path. *) Feature: basic ac

Perl Inline C code inside nginx Perl module

2018-04-12 Thread Ondrej Jombik
We have some proprietary code in C language, which we cannot convert into Perl. We would like to use this C code in Perl nginx module. Code runs well under Perl's Inline C. However when I try to run Inline C code in nginx Perl module, it does not work. Not only this code does not work, in fact no