Re: [nginx] Added r->schema.

2018-06-07 Thread 洪志道
Hi. diff -r 8e6bb4e6045f src/http/ngx_http_variables.c --- a/src/http/ngx_http_variables.c Thu Jun 07 20:04:22 2018 +0300 +++ b/src/http/ngx_http_variables.c Thu Jun 07 12:20:05 2018 -0400 @@ -1420,25 +1420,11 @@ ngx_http_variable_scheme(ngx_http_request_t *r, ngx_http_variable_value_t *v,

Re: TLS 1.3 not being selected.

2018-06-07 Thread shiz
Ah! Thank you very much. Recompiled with older openssl 1.1.1 pre2 since current browsers implement draft 23 atm. It's working now. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280017,280094#msg-280094 ___ nginx mailing list

rewrite question

2018-06-07 Thread shiz
Hi, Recently, Google has started spidering my website and in addition to normal pages, appended "" to all urls, even the pages excluded by robots.txt e.g. page.php?page=aaa -> page.php?page=aaa Any idea how to redirect/rewrite this? Posted at Nginx Forum:

[nginx] Removed extraneous check while processing request line.

2018-06-07 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/21ad2af3262c branches: changeset: 7294:21ad2af3262c user: Ruslan Ermilov date: Thu Jun 07 19:53:43 2018 +0300 description: Removed extraneous check while processing request line. diffstat: src/http/ngx_http_request.c | 2 +- 1 files

[nginx] HTTP/2: use scheme from original request for pushes (closes #1549).

2018-06-07 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/8e6bb4e6045f branches: changeset: 7296:8e6bb4e6045f user: Ruslan Ermilov date: Thu Jun 07 20:04:22 2018 +0300 description: HTTP/2: use scheme from original request for pushes (closes #1549). Instead of the connection scheme, use scheme from

[nginx] Added r->schema.

2018-06-07 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/89430899c72a branches: changeset: 7295:89430899c72a user: Ruslan Ermilov date: Thu Jun 07 20:01:41 2018 +0300 description: Added r->schema. For HTTP/1, it keeps scheme from the absolute form of URI. For HTTP/2, the :scheme request

[nginx] Allowed digits, '+', '-', and '.' in scheme names as per RFC 3986.

2018-06-07 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/f9661f56c717 branches: changeset: 7292:f9661f56c717 user: Ruslan Ermilov date: Thu May 24 12:06:35 2018 +0300 description: Allowed digits, '+', '-', and '.' in scheme names as per RFC 3986. diffstat: src/http/ngx_http_parse.c | 5 + 1

[nginx] HTTP/2: validate client request scheme.

2018-06-07 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/d588987701f4 branches: changeset: 7293:d588987701f4 user: Ruslan Ermilov date: Thu Jun 07 11:47:10 2018 +0300 description: HTTP/2: validate client request scheme. The scheme is validated as per RFC 3986, Section 3.1. diffstat:

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

2018-06-07 Thread Reinis Rozitis
No real "vs" or "thing" IME. nginx(ssl terminator) -> varnish -> nginx works quite nicely. There's also Varnish's terminator, Hitch, as an alternative, Sure in general there is no problem offloading varnish (done it with nginx / stud / haproxy / hitch / h2o .. etc and still running several

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

2018-06-07 Thread Valentin V. Bartenev
On Wednesday 06 June 2018 15:42:25 PGNet Dev wrote: [..] > > There is official support for cache purging with the commercial version > > of Nginx: https://www.nginx.com/products/nginx/caching/. > > Ah, so not (yet) in the FOSS product. I see it's proxy_cache, not > fastcgi_cache, based ... >

Custom HTTP code in limit_except

2018-06-07 Thread 5lava
I'd like to find an elegant and efficient solution to redirect GET and HEAD requests using code 301, but requests with other methods — using code 308. Intuitively I wrote this: location /foo { limit_except GET { return 301 /bar; } return 308 /bar; } But allowed context for "return" are

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

2018-06-07 Thread PGNet Dev
On 6/7/18 9:27 AM, Reinis Rozitis wrote: this patch https://github.com/FRiCKLE/ngx_cache_purge/commit/c7345057ad5429617fc0823e92e3fa8043840cef.diff Noted, thx. In my case at one project we decided/had to switch to nginx caching from varnish because varnish (even you are using disk based

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

2018-06-07 Thread Reinis Rozitis
For some new WordPress sites, I'll be deploying fastcgi_cache as reverse proxy / page cache, instead of usual Varnish. A commonly referenced approach is to use the 'FRiCKLE/ngx_cache_purge', https://github.com/FRiCKLE/ngx_cache_purge/ ngx_cache_purge module development appears to have gone

Re: increase video image size

2018-06-07 Thread Roman Arutyunyan
Hi, On Thu, Jun 07, 2018 at 12:09:01PM -0400, neuronetv wrote: > I use ffmpeg to stream a live video from my home to a vps running nginx. The > video size coming from source (home) is 320x180. Is there any way nginx can > inflate the video image? Can it be done in the nginx.conf file? You can

Релиз Unit 1.2

2018-06-07 Thread Валентин Бартенев
Здравствуйте. Рад сообщить о выпуске новой версии NGINX Unit. Изменения в Unit 1.2 07.06.2018 *) Добавление: настройка переменных окружения для процессов приложений. *) Добавление: установка пути к файлу "php.ini". *) Добавление:

increase video image size

2018-06-07 Thread neuronetv
I use ffmpeg to stream a live video from my home to a vps running nginx. The video size coming from source (home) is 320x180. Is there any way nginx can inflate the video image? Can it be done in the nginx.conf file? This is my nginx.conf file: -

Unit 1.2 release

2018-06-07 Thread Valentin V. Bartenev
Hello, I'm glad to announce a new release of NGINX Unit. Changes with Unit 1.207 Jun 2018 *) Feature: configuration of environment variables for application processes. *) Feature: customization of php.ini path. *) Feature: setting

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

2018-06-07 Thread PGNet Dev
On 6/6/18 11:31 PM, Jon Franklin wrote: You can try this: https://github.com/nginx-modules/ngx_cache_purge Thx! I'd aptly managed to not find/notice that fork. Does address the 'stale' development status. Still, leaves some of the concerns about nginx ABI, etc. mentioned earlier. I'll set

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

2018-06-07 Thread Jon Franklin
On Thu, Jun 7, 2018 at 6:05 AM, PGNet Dev wrote: > For some new WordPress sites, I'll be deploying fastcgi_cache as reverse > proxy / page cache, instead of usual Varnish. > > Although there are a number of WP-module-based PURGE options, I prefer that > it's handled by the web server. > > A