[njs] Version bump.

2022-11-17 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/b3eeac9ee9f4 branches: changeset: 2005:b3eeac9ee9f4 user: Dmitry Volyntsev date: Wed Nov 16 18:47:36 2022 -0800 description: Version bump. diffstat: src/njs.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines):

[njs] Shell: added signal support in CLI.

2022-11-17 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/8163612eb950 branches: changeset: 2006:8163612eb950 user: Dmitry Volyntsev date: Thu Nov 17 20:38:23 2022 -0800 description: Shell: added signal support in CLI. diffstat: src/njs_shell.c | 184

Re: [PATCH] HTTP: add internal_redirect directive.

2022-11-17 Thread Maxim Dounin
Hello! On Thu, Nov 17, 2022 at 11:25:19PM +, Aleksei Bavshin via nginx-devel wrote: > The directive in question provides direct access to the > ngx_http_internal_redirect/ngx_http_named_location APIs, > allowing to simplify and optimize several real-life > configurations where the modules

Re: Couldn't download old release of nginx-quic

2022-11-17 Thread Maxim Dounin
Hello! On Thu, Nov 17, 2022 at 03:52:24PM -0600, claire liu wrote: > Hello, > I can download the latest version of nginx-quic from > https://hg.nginx.org/nginx-quic, which is 1.23.2. I tried to download old > versions, such as 1.23.1 and 1.23.0. Although the name is nginx-quic, the > source code

Re: [PATCH 3 of 4] QUIC: support for setting QUIC methods with LibreSSL

2022-11-17 Thread Maxim Dounin
Hello! On Tue, Nov 15, 2022 at 04:28:30PM +0400, Sergey Kandaurov wrote: > > > On 21 Oct 2022, at 04:10, Maxim Dounin wrote: > > > > Hello! > > > > On Tue, Oct 11, 2022 at 02:35:52PM +0400, Sergey Kandaurov wrote: > > > >> # HG changeset patch > >> # User Sergey Kandaurov > >> # Date

[nginx-announce] 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

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

[PATCH] HTTP: add internal_redirect directive.

2022-11-17 Thread Aleksei Bavshin via nginx-devel
The directive in question provides direct access to the ngx_http_internal_redirect/ngx_http_named_location APIs, allowing to simplify and optimize several real-life configurations where the modules should be executed multiple times/in a different order/with a different configuration/etc,

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 >

Couldn't download old release of nginx-quic

2022-11-17 Thread claire liu
Hello, I can download the latest version of nginx-quic from https://hg.nginx.org/nginx-quic, which is 1.23.2. I tried to download old versions, such as 1.23.1 and 1.23.0. Although the name is nginx-quic, the source code lacks v3, which should be maline not quic. Please let me know how to download

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

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

Re: Nginx - quic issue

2022-11-17 Thread claire liu
Hello Sergey, Thanks for your reply. I will update this to opentelemetry. But I still want to ensure that I only need to load the opentelemetry-webserver module in nginx.conf to get the traces, no other steps need to be done. I am afraid I missed something. I checked the source code of the

Re: Nginx - quic issue

2022-11-17 Thread Sergey A. Osokin
Hi Claire, thanks for the question. On Thu, Nov 17, 2022 at 12:30:46PM -0600, claire liu wrote: > I am using Nginx-quic in my research and having trouble getting traces from > Nginx-quic using the opentelemetry-Nginx module provided by opentelemetry, > which enables tracing of incoming requests

Nginx - quic issue

2022-11-17 Thread claire liu
Hello, I am using Nginx-quic in my research and having trouble getting traces from Nginx-quic using the opentelemetry-Nginx module provided by opentelemetry, which enables tracing of incoming requests to the server by injecting instrumentation into the Nginx server at runtime. These are the steps

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

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:

Re: [PATCH] Tests: clearing of pre-existing Content-Range headers

2022-11-17 Thread Sergey Kandaurov
On Tue, Nov 15, 2022 at 09:55:40PM -0800, Eugene Grebenschikov via nginx-devel wrote: > Hello, > > After discussion with Sergey Kandaurov, it was decided to seperate these tests > into a separate file. > [..] > > > > It might be a good idea to keep this separate from the basic range > >

Re: [PATCH] Tests: proxy protocol v2 TLVs tests for stream module

2022-11-17 Thread Sergey Kandaurov
> On 16 Nov 2022, at 10:04, Eugene Grebenschikov via nginx-devel > wrote: > > # HG changeset patch > # User Eugene Grebenschikov > # Date 1668578494 28800 > # Tue Nov 15 22:01:34 2022 -0800 > # Node ID 6040bfd6acbd8492730dee6ffe1bc9e89f70a3cb > # Parent

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

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

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

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

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

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

Re: gzip proxy

2022-11-17 Thread MihaKot
Да, спасибо. Я уже разобрался в проблеме. Файл который проверял был тип application/javascript. Его просто не было в списке миметайпов для сжатия. чт, 17 нояб. 2022 г., 6:48 PM Maxim Dounin : > Hello! > > On Thu, Nov 17, 2022 at 10:48:52AM +0300, MihaKot wrote: > > > Столкнулся с проблемой, и не

Re: gzip proxy

2022-11-17 Thread Maxim Dounin
Hello! On Thu, Nov 17, 2022 at 10:48:52AM +0300, MihaKot wrote: > Столкнулся с проблемой, и не могу понять где косяк. > > есть сервер proxy (gate) > есть сервер приложения (client) > > почему то не срабатывает сжатие. т.е. пользаку отдается не сжатый контент. > > конфиг на клиенте > > gzip

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