njs-0.7.9

2022-11-17 Thread Dmitry Volyntsev
Hello, This is a bugfix release that fixes Fetch Response prototype reinitialization. When at least one js_import directive was declared in both HTTP and Stream, ngx.fetch() returned inapproriate response in Stream. The bug was introduced in 0.7.7. Learn more about njs: - Overview and introdu

Re: Running ssl on custom port and its not working

2022-11-17 Thread Sergey A. Osokin
Hi, On Thu, Nov 17, 2022 at 12:58:31PM -0500, blason wrote: > Nothing interesting as such however below is the curl output from nginx > server > > curl -I https://xxx..xxx:8081/neutrino-sso-web > HTTP/1.1 302 Found > Date: Thu, 17 Nov 2022 17:57:10 GMT > Server: JBoss-EAP/7 > Strict-Transport

Re: Why the info 'A worker can handle no more than 1024 simultaneous connections' has been removed from http://nginx.org/en/docs/windows.html ?

2022-11-17 Thread Maxim Dounin
Hello! On Thu, Nov 17, 2022 at 04:06:37PM +, Masseau Olivier via nginx wrote: > Maybe it would be nice to add this info on the > http://nginx.org/en/docs/windows.html page. > Because without your answer I think I would never have been able > to find this information :) The page in questio

Re: Howto force Nginx resolver to use new source UDP port

2022-11-17 Thread Maxim Dounin
Hello! On Thu, Nov 17, 2022 at 05:17:06AM -0500, jeanpaul wrote: > We're using Nginx as ingress controller in a Kubernetes environment. Nginx > uses a DNS service inside k8s with 1 single service-IP and multiple DNS PODs > behind that. > > The translation from service-IP to any of the multiple D

Re: Running ssl on custom port and its not working

2022-11-17 Thread Francis Daly
On Thu, Nov 17, 2022 at 12:58:31PM -0500, blason wrote: Hi there, > Nothing interesting as such however below is the curl output from nginx > server How sure are you that this response came from your nginx server? > curl -I https://xxx..xxx:8081/neutrino-sso-web The nginx config you showed

Re: Running ssl on custom port and its not working

2022-11-17 Thread blason
Nothing interesting as such however below is the curl output from nginx server curl -I https://xxx..xxx:8081/neutrino-sso-web HTTP/1.1 302 Found Date: Thu, 17 Nov 2022 17:57:10 GMT Server: JBoss-EAP/7 Strict-Transport-Security: max-age=63072000; includeSubDomains; preload X-Powered-By: Underto

Re: nginx returns html instead of json response

2022-11-17 Thread Francis Daly
On Mon, Nov 14, 2022 at 08:24:15PM +0530, Kaushal Shriyan wrote: > > On Fri, Nov 11, 2022 at 2:38 PM Francis Daly wrote: Hi there, > >> What one specific request do you want to make? (Maybe > >> http://mydomain.com/apis, maybe http://mydomain.com/api/v1/*, maybe > >> http://mydomain.com/api/v1/e

Re: CGIT + NGINX : Not able to push commit

2022-11-17 Thread Francis Daly
On Fri, Nov 18, 2022 at 12:04:42AM +0800, Robbi wrote: Hi there, > Hi, I plan to setup my own git web using cgit. For now I able to clone but I > not able to push changes. What do the nginx logs say about this request? Specifically, these headers: > 23:24:26.253252 http.c:662 <= R

RE: Why the info 'A worker can handle no more than 1024 simultaneous connections' has been removed from http://nginx.org/en/docs/windows.html ?

2022-11-17 Thread Masseau Olivier via nginx
Thanks ;) Maybe it would be nice to add this info on the http://nginx.org/en/docs/windows.html page. Because without your answer I think I would never have been able to find this information :) I'm aware that Nginx is not a good idea in production. But I was asked to evaluate and give evidence

CGIT + NGINX : Not able to push commit

2022-11-17 Thread Robbi
Hi, I plan to setup my own git web using cgit. For now I able to clone but I not able to push changes. $ export GIT_CURL_VERBOSE=1 $ git push --set-upstream origin robbi.my_custom 23:24:24.335603 http.c:703 == Info: Couldn't find host source.robbi.my in the (nil) file; using defaul

CGIT + NGINX : Not able to push

2022-11-17 Thread Robbi
Hi, I plan to setup my own git web using cgit. For now I able to clone but I not able to push changes. $ export GIT_CURL_VERBOSE=1 $ git push --set-upstream origin robbi.my_custom 23:24:24.335603 http.c:703 == Info: Couldn't find host source.robbi.my in the (nil) file; using defaul

CGIT + NGINX : Not able to push

2022-11-17 Thread Robbi
Hi, I plan to setup my own git web using cgit. For now I able to clone but I not able to push changes. $ export GIT_CURL_VERBOSE=1 $ git push --set-upstream origin robbi.my_custom 23:24:24.335603 http.c:703 == Info: Couldn't find host source.robbi.my in the (nil) file; using defaul

Re: 回复: Segmentation fault sometimes

2022-11-17 Thread Sergey A. Osokin
Hi, On Fri, Nov 11, 2022 at 09:04:44AM +, 王 静凯 wrote: > Hi, > Sorry I forget the mail I send before. > Now the core file generate by nginx 1.22.0. > It is meaningless to run nginx without third-party modules. > I want to know if it crash when calling functions in nginx ( not in > third-party

Howto force Nginx resolver to use new source UDP port

2022-11-17 Thread jeanpaul
We're using Nginx as ingress controller in a Kubernetes environment. Nginx uses a DNS service inside k8s with 1 single service-IP and multiple DNS PODs behind that. The translation from service-IP to any of the multiple DNS PODs is done via DNAT rules. The problem: - Nginx establishes an UDP 'con