Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

2021-01-05 Thread Phoenix Kiula
Thanks Miguel. Is there a simple official guide with precise instructions that shows all these modules being installed? Couldn't find it. Thanks! On Tue, Jan 5, 2021 at 8:20 PM Miguel C wrote: > AFAIK you would need the modules built with the same nginx version, so if > they are not available v

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

2021-01-05 Thread Miguel C
AFAIK you would need the modules built with the same nginx version, so if they are not available via packages I'm afraid you still need to build... On Wed, Jan 6, 2021, 00:27 Phoenix Kiula wrote: > We have a limitation on the server to only install Nginx via DNF. This > currently (as of this dat

Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

2021-01-05 Thread Phoenix Kiula
We have a limitation on the server to only install Nginx via DNF. This currently (as of this date of writing) installs Nginx v1.18.0. We cannot compile our own Nginx. I understand that with this we cannot install "static modules" because that requires the whole of Nginx to be reinstalled. But I'd

memory usage for ssl_client_certificate

2021-01-05 Thread Frank Liu
Hi, If I have a 5M pem file for ssl_client_certificate, and 1000 concurrent connections, will nginx load the file 1000 times with 1000*5M memory usage, or only 1 time load in memory to be shared across all connections? Thanks! Frank ___ nginx mailing li

Re: least_conn upstream configuration issue "host not found in upstream" with Kubernetes DNS

2021-01-05 Thread Francis Daly
On Tue, Jan 05, 2021 at 01:20:34PM -0500, kpirateone wrote: Hi there, > 1) use ips instead of host names, not ideal due to the dynamic nature of the > ips > 2) maintain an upstream configuration externally and use nginx reload to > modify the upstream as pods come online > > scaling up, as state

Re: least_conn upstream configuration issue "host not found in upstream" with Kubernetes DNS

2021-01-05 Thread kpirateone
thanks for your prompt response, i did read through this thread prior and it does relate to my understanding of the issue. it seems like we could 1) use ips instead of host names, not ideal due to the dynamic nature of the ips 2) maintain an upstream configuration externally and use nginx reload

Re: Block extension for specified IP address

2021-01-05 Thread Francis Daly
On Fri, Jan 01, 2021 at 02:54:21AM -0500, Dr_tux wrote: Hi there, > I'm stuck in this. I am open to your suggestions. Thank you. Untested by me, but... > I have a reverse proxy configuration as follows, I want to block exe > extensions for requests from here. But it doesn't work. How can I do t

Re: limit requests and CORS Policy

2021-01-05 Thread Francis Daly
On Tue, Dec 29, 2020 at 12:33:02PM +0500, Ali Mohsin wrote: Hi there, > Hello, I have solved the issue, Thank you for following-up to the list with the solution. Great that you now have a working system; and even better that the next person searching the list with the same problem, will be able

Re: least_conn upstream configuration issue "host not found in upstream" with Kubernetes DNS

2021-01-05 Thread Francis Daly
On Tue, Jan 05, 2021 at 10:53:58AM -0500, kpirateone wrote: Hi there, > I am trying to configure a least_conn upstream for kubernetes pods and find > that we receive a "host not found in upstream" error on startup if the pod > has not been started. See, for example, the thread at https://forum.n

least_conn upstream configuration issue "host not found in upstream" with Kubernetes DNS

2021-01-05 Thread kpirateone
I am trying to configure a least_conn upstream for kubernetes pods and find that we receive a "host not found in upstream" error on startup if the pod has not been started. config snippet: upstream backend { least_conn; server pod0.servicename.namespace.svc.cluster.local:8081;

About the native rtmps protocol support in nginx.

2021-01-05 Thread Hongyi Zhao
Currently, on Ubuntu20.10, I've compiled the latest git master version of FFmpeg with the native TLS/SSL support through the following configuration option: $ ./configure --enable-openssl $ ffmpeg -protocols |& egrep -i 'in|out|rtmps' Input: rtmps Output: rtmps At this moment, I want to use