Re: nginx 1.17.3 and TLSv1.3

2019-08-16 Thread benztoy
The problem has been solved, thank you very much Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285325,285327#msg-285327 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx 1.17.3 and TLSv1.3

2019-08-16 Thread Maxim Dounin
Hello! On Fri, Aug 16, 2019 at 02:15:22PM -0400, benztoy wrote: > I want to run two nginx services on one host. They are nginxA and nginxB > nginxA listening on https443 port. Only the tslv1.3 protocol is available. > The configuration file is as follows: [...] > Server { > Listen

nginx 1.17.3 and TLSv1.3

2019-08-16 Thread benztoy
I want to run two nginx services on one host. They are nginxA and nginxB nginxA listening on https443 port. Only the tslv1.3 protocol is available. The configuration file is as follows: # #user nobody; Worker_processes 1; #error_log logs/error.log; #error_log logs/error.log

Unit process isolation / namespaces

2019-08-16 Thread Tiago Natel de Moura
Hi, I would like to present a new feature I'm working on that adds OS based process isolation to Unit. For now, it implements just the basic building block of containers: Linux namespaces. Let me know what you think, if it's useful or not, etc. To start using it, you just need to add a new

Re: Location Rewrite Issue

2019-08-16 Thread Randy Johnson
Thank you. That was indeed the issue. Now I can see the individual blog entries at /blog/slug-of-blog but /blog and /blog/ urls are both throwing a 404. Is that an easy fix? -Randy On Fri, Aug 16, 2019 at 5:15 AM Reinis Rozitis wrote: > > I tried adding the following line in there in a

[nginx] SSL: lowered log level for WSAECONNABORTED errors on Windows.

2019-08-16 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/2432a687e789 branches: changeset: 7560:2432a687e789 user: Maxim Dounin date: Fri Aug 16 18:16:21 2019 +0300 description: SSL: lowered log level for WSAECONNABORTED errors on Windows. Winsock uses ECONNABORTED instead of ECONNRESET in some

[nginx] Version bump.

2019-08-16 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/26281dcecfbc branches: changeset: 7559:26281dcecfbc user: Maxim Dounin date: Fri Aug 16 18:16:14 2019 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines):

Re: cache: move open to thread pool

2019-08-16 Thread 洪志道
Great job, the patch works well. On Fri, Aug 16, 2019 at 10:24 PM Roman Arutyunyan wrote: > Hi, > > On Wed, Jul 24, 2019 at 11:47:19AM +0800, 洪志道 wrote: > > Hi, I found an issue with the patch. > > > > 1. Reproduce > > (/usr/local/nginx/html/5M.txt, Just making `ngx_http_set_write_handler` >

Re: cache: move open to thread pool

2019-08-16 Thread Roman Arutyunyan
Hi, On Wed, Jul 24, 2019 at 11:47:19AM +0800, 洪志道 wrote: > Hi, I found an issue with the patch. > > 1. Reproduce > (/usr/local/nginx/html/5M.txt, Just making `ngx_http_set_write_handler` be > called.) > > telnet localhost 80 > GET /5M.txt HTTP/1.1 > HOST: 1.1.1.1 > > -- response-- > > GET

RE: Location Rewrite Issue

2019-08-16 Thread Reinis Rozitis
> I tried adding the following line in there in a couple different places but > all it does is download the php file. > > location /blog { > rewrite ^/blog/([A-Za-z0-9-]+)/?$ /blog-article.php?slug=$1 break; > } Try to switch from 'break' to 'last'. By using 'break' it means that nginx stops

"working_directory /root;" - ошибка не детектится через "nginx -t" ?

2019-08-16 Thread Илья Шипицин
привет! беру nginx-1.17.3 делаю вот такой конфиг user nginx; worker_processes auto; working_directory /root; error_log /var/log/nginx/error.log warn; pid/var/run/nginx.pid; events { worker_connections 1024; } http { default_type application/octet-stream; access_log

Re: nginx-1.16.1

2019-08-16 Thread b8077691
Can the patches be safely applied on the nginx-1.14.2? Thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285234,285314#msg-285314 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: CORS Error

2019-08-16 Thread Francis Daly
On Wed, Aug 14, 2019 at 10:55:36PM -0400, justcode wrote: Hi there, > add_header 'Access-Control-Allow-Origin' '*' always; > add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, OPTIONS, DELETE'; > ERROR > invalid number of arguments in "add_header" > > CAUSE > add_header

Re: RE: Caching Method

2019-08-16 Thread Francis Daly
On Fri, Aug 16, 2019 at 02:22:31AM -0400, hhypnos wrote: Hi there, > hi , can i use catching without proxy_pass? proxy_cache is for nginx to cache the response from a proxy_pass request to an upstream server. fastcgi_cache is for nginx to cache the response from a fastcgi_pass request to an

Re: RE: Caching Method

2019-08-16 Thread hhypnos
hi , can i use catching without proxy_pass? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285284,285309#msg-285309 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx