[PATCH] HTTP/2: make http2 server support http1

2018-03-01 Thread Haitao Lv
# HG changeset patch # User 吕海涛 # Date 1519976498 -28800 # Fri Mar 02 15:41:38 2018 +0800 # Node ID 200955343460c4726015180f20c03e31c0b35ff6 # Parent 81fae70d6cb81c67607931ec3ecc585a609c97e0 make http2 server support http1 diff -r 81fae70d6cb8 -r 200955343460

Re: why hardcoded /var/log/nginx/error.log in pre-built packages?

2018-03-01 Thread Aziz Rozyev
it’s not hardcoded afaik. check output of nginx -T perhaps it’s defined error_log directive somewhere.. br, Aziz. > On 1 Mar 2018, at 23:40, Daniel wrote: > > Hello all, > > can someone please explain to me why the location /var/log/nginx/error > log is hardcoded in

why hardcoded /var/log/nginx/error.log in pre-built packages?

2018-03-01 Thread Daniel
Hello all, can someone please explain to me why the location /var/log/nginx/error log is hardcoded in the official prebuilt packages? Or why nginx -t checks if this file exists even if there is another location defined in the config file? Thank you. Daniel

Re: Nginx Directory Autoindex

2018-03-01 Thread Luciano Mannucci
On Thu, 1 Mar 2018 19:45:27 +0300 Roman Arutyunyan wrote: > Just in case you'll get back to XML/XSLT, here's a simple configuration to > sort the files: Many thanks! I'll give it a try. Cheers, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy)

[nginx] Core: ngx_current_msec now uses monotonic time if available.

2018-03-01 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/81fae70d6cb8 branches: changeset: 7222:81fae70d6cb8 user: Maxim Dounin date: Thu Mar 01 20:25:50 2018 +0300 description: Core: ngx_current_msec now uses monotonic time if available. When clock_gettime(CLOCK_MONOTONIC) (or

yum install nginx Transaction Check Error:

2018-03-01 Thread neuronetv
trying to run 'yum install nginx*' (stable version) on centos 6 using these instructions: http://nginx.org/en/linux_packages.html#stable I get the following error Transaction Check Error: file /usr/lib64/nginx/modules/ngx_http_geoip_module.so conflicts between attempted installs of

Re: Nginx Directory Autoindex

2018-03-01 Thread Roman Arutyunyan
Hi, On Thu, Mar 01, 2018 at 05:27:49PM +0100, Luciano Mannucci wrote: > On Thu, 1 Mar 2018 12:16:34 + > Miguel C wrote: > > > there's a default sorting option for name/data etc > > https://github.com/aperezdc/ngx-fancyindex#fancyindex-default-sort > > > > I do see a

Re: Nginx Directory Autoindex

2018-03-01 Thread Luciano Mannucci
On Thu, 1 Mar 2018 12:16:34 + Miguel C wrote: > there's a default sorting option for name/data etc > https://github.com/aperezdc/ngx-fancyindex#fancyindex-default-sort > > I do see a default_sort as a directive but not for "ascending" "descending" > (doesn't since

[nginx] Postpone filter: prevented uninitialized r->out.

2018-03-01 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/43585e0e12a3 branches: changeset: 7221:43585e0e12a3 user: Roman Arutyunyan date: Thu Mar 01 18:38:39 2018 +0300 description: Postpone filter: prevented uninitialized r->out. The r->out chain link could be left uninitialized in

Re: WebSockets over HTTP/2

2018-03-01 Thread S.A.N
> Если/когда появится стандарт > и реализации в браузерах - посмотрим. Это уже работает в Chrome 66 (Canary) и Firefox разрабатывает реализацию, судя по всему браузеры пришли к консенсусу в этом вопросе. > Хотя вот лично мне - усиленно кажется, что конкретный драфт - суть > достаточно вялая и

Re: WebSockets over HTTP/2

2018-03-01 Thread Maxim Dounin
Hello! On Thu, Mar 01, 2018 at 06:57:34AM -0500, S.A.N wrote: > Chrome, реализовал WebSockets поверх HTTP/2 > > https://tools.ietf.org/html/draft-ietf-httpbis-h2-websockets-00 > https://www.chromestatus.com/feature/6251293127475200 > > Есть в планах Nginx, реализации проксирование WebSockets

Re: Nginx mail proxy

2018-03-01 Thread Maxim Dounin
Hello! On Thu, Mar 01, 2018 at 05:55:10AM -0500, peanky wrote: > Why using nginx with not my smtp is wrong way? > PS: I see the date ot topic, but this time I try to solve the same problem. Bacause nginx smtp proxy is designed to protect / balance your own smtp backends. If you want to proxy

[PATCH] Contrib: vim syntax, update core and 3rd party module directives.

2018-03-01 Thread Gena Makhomed
# HG changeset patch # User Gena Makhomed # Date 1519907674 -7200 # Thu Mar 01 14:34:34 2018 +0200 # Node ID 42536cf64a89641b90bc0db7223fe60703d663e0 # Parent 20f139e9ffa84f1a1db6039547cd35fc4534 Contrib: vim syntax, update core and 3rd party module directives. diff -r

Re: fsync()-in webdav PUT

2018-03-01 Thread Valery Kholodkov
You can also apply online: https://angel.co/qubiq-digital-b-v/jobs That's more 2018-nish. On 01-03-18 13:24, Valery Kholodkov wrote: I admire your wise approach to this discussion, as well your technical expertise! I see the value in people who know the right way, but I see the value in

Re: fsync()-in webdav PUT

2018-03-01 Thread Valery Kholodkov
I admire your wise approach to this discussion, as well your technical expertise! I see the value in people who know the right way, but I see the value in people who dare to explore and want learning the right way. Coincidently, at Qubiq Labs we're looking for that kind of kick-ass Systems and

Re: Nginx Directory Autoindex

2018-03-01 Thread Miguel C
Yeah I was looking in github and there's no update for a year now... which tbh might be about the same time I last used it :D there's a default sorting option for name/data etc https://github.com/aperezdc/ngx-fancyindex#fancyindex-default-sort I do see a default_sort as a directive but not for

Re: Nginx Directory Autoindex

2018-03-01 Thread Vladimir Homutov
On Wed, Feb 28, 2018 at 07:03:22PM +0100, Luciano Mannucci wrote: > > Hello all, > > I have a directory served by nginx via autoindex (That works perfectly > as documented :). I need to show the content in reverse order (ls -r), > is there any rather simple method? > > Thanks in advance, Hello

WebSockets over HTTP/2

2018-03-01 Thread S.A.N
Chrome, реализовал WebSockets поверх HTTP/2 https://tools.ietf.org/html/draft-ietf-httpbis-h2-websockets-00 https://www.chromestatus.com/feature/6251293127475200 Есть в планах Nginx, реализации проксирование WebSockets поверх HTTP/2? Posted at Nginx Forum:

Re: Nginx Directory Autoindex

2018-03-01 Thread Luciano Mannucci
On Wed, 28 Feb 2018 23:30:35 + Miguel C wrote: > I'm unsure if thats possible without 3rd party module... > > I've used fancyindex before when I wanted sorting. I don't find fancyindex module in 1.13.9. It seems that some of its features are now in autoindex. It is

Re: Stream module logging questions

2018-03-01 Thread Roman Arutyunyan
Hello, On Thu, Mar 01, 2018 at 04:06:09AM +0100, Grzegorz Kulewski wrote: > Hello, > > 1. How can I log the IP and (especially) the port used by nginx (proxy) to > connect to upstream when stream module is used? > 2. Can I somehow get a log entry also/instead at stream connection setup > time,

Re: Nginx mail proxy

2018-03-01 Thread peanky
Why using nginx with not my smtp is wrong way? PS: I see the date ot topic, but this time I try to solve the same problem. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,257510,278855#msg-278855 ___ nginx mailing list nginx@nginx.org