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

2021-01-20 Thread Zhao, Ping
Hi Vladimir, No special/extra configuration needed, but need check if 'aio on' and 'sendfile off' is correctly set. This is my Nginx config for reference: user nobody; daemon off; worker_processes 1; error_log error.log ; events { worker_connections 65535; use epoll; } http { includ

Re: nginx conf file for downloading a text file.

2021-01-20 Thread Maxim Dounin
Hello! On Wed, Jan 20, 2021 at 02:34:12PM +0100, HARISH KUMAR Ivaturi wrote: > Hi All, > > I would like to know where I went wrong on writing the nginx.conf file for > downloading addDevice.txt file which is located at > /var/www/files/addDevice.txt. > > I used curl command as follows: > > cur

Re: Http: protect prefix variable when add variable

2021-01-20 Thread Maxim Dounin
Hello! On Wed, Jan 20, 2021 at 07:59:50PM +0800, Jim T wrote: > Hello! > > There is a incident occur in our team, when we use auth_request_set like > this in many server, and print $upstream_http_x_auth_request_email in log: > > server { > listen 8080 reuseport; > server_name tes

nginx conf file for downloading a text file.

2021-01-20 Thread HARISH KUMAR Ivaturi
Hi All, I would like to know where I went wrong on writing the nginx.conf file for downloading addDevice.txt file which is located at /var/www/files/addDevice.txt. I used curl command as follows: curl -k -v --http3 "https://localhost:8443/files/addDevice.txt"; curl -k -v --http3 "https://localho

Http: protect prefix variable when add variable

2021-01-20 Thread Jim T
Hello! There is a incident occur in our team, when we use auth_request_set like this in many server, and print $upstream_http_x_auth_request_email in log: server { listen 8080 reuseport; server_name test.io; location / { auth_request/oauth2/auth; aut