Re: Which Upload Module

2021-02-04 Thread pmadr
Thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,290661,290670#msg-290670 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

RE: [PATCH] Add io_uring support in AIO(async io) module

2021-02-04 Thread Zhao, Ping
Hi Mikhail, Added 'sendfile on' & 'aio off' test result with previous table: Following is the test result with 100KB and 1MB: (4KB to be test) Nginx worker_processes 1: 4k 100k 1M Io_uring220MB/s1GB/s1.3GB/s Libaio70MB/s

RE: [PATCH] Add io_uring support in AIO(async io) module

2021-02-04 Thread Zhao, Ping
Hi Mikhail, I think it could be the kernel difference. I'll try to repro with your kernel. I directly build the kernel from kernel org. This is the commit id I used: commit 6b9830fecd4a87d7ebb4d93484fef00f46d0fa0f (HEAD -> linux-5.7.y, tag: v5.7.19, origin/linux-5.7.y) Author: Greg

[PATCH] Define phony make targets as such.

2021-02-04 Thread Thibault NĂ©lis
Hello, I just spent more time than I care to admit troubleshooting a make issue after naively using `./configure --builddir=build` (make target inadvertently matches this directory name). Not sure if taking a dep on POSIX sed in the build system is kosher or not, but if it is I figure this patch

Unit 1.22.0 release

2021-02-04 Thread Valentin V. Bartenev
Hi, I'm glad to announce a new release of NGINX Unit. This is our first release of 2021, and it focuses on improving stability. There's an extensive list of bugfixes, although many occur in rare conditions that have so far been observed only in our test environments. These bugs were caught due

[nginx-announce] unit-1.22.0

2021-02-04 Thread Valentin V. Bartenev
Hi, I'm glad to announce a new release of NGINX Unit. This is our first release of 2021, and it focuses on improving stability. There's an extensive list of bugfixes, although many occur in rare conditions that have so far been observed only in our test environments. These bugs were caught due

Getting intermediate client certificates with custom module

2021-02-04 Thread bouvierh
Hello! I am using nginx in reverse proxy mode. When nginx proxy pass the certificates upstream, I would also like to pass the full cert chain along with it. This is for an industrial application and I don't have full control on why it is done this way. The only thing I can tamper with is Nginx.

Re: Which Upload Module

2021-02-04 Thread Sergey A. Osokin
Hi, On Thu, Feb 04, 2021 at 09:37:44AM -0500, pmadr wrote: > Hi, > > There are a few versions of the upload module on github. > > https://github.com/fdintino/nginx-upload-module > https://github.com/Austinb/nginx-upload-module/tree/2.2 > https://github.com/hongzhidao/nginx-upload-module > >

Which Upload Module

2021-02-04 Thread pmadr
Hi, There are a few versions of the upload module on github. https://github.com/fdintino/nginx-upload-module https://github.com/Austinb/nginx-upload-module/tree/2.2 https://github.com/hongzhidao/nginx-upload-module Each has a different commits and issues. Which module do you recommend to use

Re: Nginx not responding to port 80 on public IP address

2021-02-04 Thread Francis Daly
On Thu, Feb 04, 2021 at 12:00:53PM +, Adam wrote: Hi there, > > It sounds like something outside of your nginx is preventing the traffic > > from getting to your nginx. > > > > In that case, no nginx config can help you; but there are other things > > you can perhaps look at. > > Do your

Re: Nginx not responding to port 80 on public IP address

2021-02-04 Thread Adam
Hi Francis, I've tried your suggestions (inline replies below) but am still stuck. On Thu, 4 Feb 2021 at 10:06, Francis Daly wrote: > On Thu, Feb 04, 2021 at 07:40:35AM +, Adam wrote: > > Hi there, > > It sounds like something outside of your nginx is preventing the traffic > from getting

Re: Failed to publish a HLS stream via the nginx HTTPS server with ffmpeg.

2021-02-04 Thread Francis Daly
On Thu, Feb 04, 2021 at 10:25:08AM +0800, Hongyi Zhao wrote: > On Thu, Feb 4, 2021 at 10:03 AM Maxim Dounin wrote: Hi there, > # Watch the stream: > # http: > $ ffplay http://localhost:8000/live/surveillance.m3u8 > # https: > $ ffplay https://localhost:8443/live/surveillance.m3u8 You report

Re: Nginx not responding to port 80 on public IP address

2021-02-04 Thread Francis Daly
On Thu, Feb 04, 2021 at 07:40:35AM +, Adam wrote: Hi there, It sounds like something outside of your nginx is preventing the traffic from getting to your nginx. In that case, no nginx config can help you; but there are other things you can perhaps look at. > nginx is running and listening

Re: nginx virtual directory redirect to a static file

2021-02-04 Thread Francis Daly
On Thu, Feb 04, 2021 at 03:07:27AM -0500, proj964 wrote: Hi there, > Perhaps this is something that can't be done with nginx, but I would like to > have a url, > like http://localhost:nnn/abc return a file from q:/d1/qrst.txt. I'm not certain, from the words here and in the Subject: line, but

Re: [PATCH] Add io_uring support in AIO(async io) module

2021-02-04 Thread Mikhail Isachenkov
Hi Zhao Ping, My test is much simpler than yours. I created /usr/local/html/(1...9) files on SSD (100 kb size) and wrote small lua script for wrk that adds 5 random digits to request. There are no such errors without patch with aio enabled. These files does not change during test.

nginx virtual directory redirect to a static file

2021-02-04 Thread proj964
Perhaps this is something that can't be done with nginx, but I would like to have a url, like http://localhost:nnn/abc return a file from q:/d1/qrst.txt. I have tried many combinations of root, alias, rewrite, try_files in location. For everything I try, nginx inserts "abc" into the final

Re: Nginx not responding to port 80 on public IP address

2021-02-04 Thread li...@lazygranch.com
I insist on encryption so this is what I use: server { listen 80; server_name yourdomain.com www.yourdomain.com ; if ($request_method !~ ^(GET|HEAD)$ ) { return 444; } return 301 https://$host$request_uri; } I only serve static pages so I use