SRPM for 1.20.1 for RHEL 7

2021-07-21 Thread Tushar Bankar
Hi I am looking for a SRPM of nginx ver: 1.20.1 for rhel7. Can anybody please share the link of the same, I was looking at following link, however not found: https://nginx.org/packages/rhel/7/SRPMS/ Thanks, Tushar ___ nginx mailing list nginx@nginx.o

Re: Embedded variables from ngx_http_core_module and websocket connections

2021-07-21 Thread Francis Daly
On Tue, Jul 20, 2021 at 12:39:51PM +0200, Dorin RuV wrote: Hi there, > I'm currently having an issue with nginx which I cannot get to the bottom > of. > server{ > listen 443 ssl http2; Does anything change if you just remove that "http2"? > location / { > proxy_http_version 1.1; >

Re: Passing the original client EHLO to the SMTP backend

2021-07-21 Thread kay
I've managed to get the desired result with a patch below: --- a/src/mail/ngx_mail_proxy_module.c +++ b/src/mail/ngx_mail_proxy_module.c @@ -574,7 +574,7 @@ cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); -line.len = sizeof("HELO ") - 1 + cscf->server_name.len +

Re: Embedded variables from ngx_http_core_module and websocket connections

2021-07-21 Thread Dorin RuV
Hi Sergey, Thank you for lending a hand! I have enabled debug and here are two different calls to the backend: 1. It worked (The nginx config contains a hard-coded "Connection Upgrade" and "Upgrade Websocket" proxy_set_headers) "2021/07/21 13:36:43 [debug] 1#1: bind() 0.0.0.0:8060 #6 2021/07/21

Passing the original client EHLO to the SMTP backend

2021-07-21 Thread kay
Hi, Currently only XCLIENT protocol supports passing "EHLO or HELO, as passed by the client" - http://nginx.org/en/docs/mail/ngx_mail_proxy_module.html#xclient I'm using PROXY protocol and nginx sends the hostname, specified in "server_name". Is it possible to pass the real client hostname to SMT

Re: Embedded variables from ngx_http_core_module and websocket connections

2021-07-21 Thread Sergey A. Osokin
Hi Dorin, hope you're doing well. On Tue, Jul 20, 2021 at 12:39:51PM +0200, Dorin RuV wrote: > Hi everybody, > > I'm currently having an issue with nginx which I cannot get to the bottom > of. > > I'm using nginx as a reverse proxy/load balancer in front of Kubernetes. > I'm trying to set up We

Re: Need some guidance for setting upstream logs in NGINX TCP Load Balancer

2021-07-21 Thread Sergey A. Osokin
Hi Akki, hope you're doing well these days. On Tue, Jul 20, 2021 at 02:05:41PM +0530, awani227 wrote: > Hi, > > I'm using 'nginx/1.21.1' for load balancing TCP connection for DBs > like Teradata, Netezza, Oracle and MySQL. I'm using stream directive > for it as per the guidance > 'https://docs.n