HTTP/2 Gateway

2015-12-06 Thread bjun...@gmail.com
Hi, i've tried to use nginx as http/2 gateway for backends which only supporting HTTP 1.1. If a backend is already HTTP/2 ready, than HTTP/2 should be used. When i test my configuration (simple proxy_pass / upstream), the connection from nginx to the backend is always HTTP 1.1 (even if the

Re: [PATCH]add proxy_protocol_port variable for rfc6302

2015-12-06 Thread junpei yoshino
hello thank you for reply and background. > but we need someone to do the rest of the work. Could I contribute it? At first, I will revise this patch along your review. On Fri, Dec 4, 2015 at 4:03 AM, Maxim Dounin wrote: > Hello! > > On Tue, Dec 01, 2015 at 08:08:30AM

Re: NginX SSL reverse mode, client ip address problem

2015-12-06 Thread Aleksandar Lazic
Hi WANJUNE. Am 06-12-2015 07:14, schrieb WANJUNE: In NginX reverse mode, There is a problem that can't get real client's Ip address. [snipp] I don't want to use http ssl listen becase of SSL handshaking burden on NginX. I decided to use stream codec like below. stream { upstream aa34

RE: [BUG] Gunzip module may cause requests to fail

2015-12-06 Thread Aviram Cohen
Thank you, Maxim. I think we pretty much agree. The following is the suggested patch. Didn't include a patch for a chunked response, as you are right, that can evolve from an application error. Feel free to change the error message. diff -r cebc9a2c2144

Re: NginX SSL reverse mode, client ip address problem

2015-12-06 Thread WANJUNE
Aleks, I'm really thank you for your timely response. I checked "proxy_protocol on;" option is working fine and watched the L4 machine send proxy protocol header like "PROXY TCP4 [Ip1] [Ip2] [Port1] [Port2]". Really thank you. Posted at Nginx Forum:

Re: web application to call C code

2015-12-06 Thread Aleksandar Lazic
Hi. Am 05-12-2015 22:59, schrieb gideon425@mailnull.com: I am writing a web application and am interested in whether I can use nginx. For each request for the web server, I want it to call some C code I have written. The code C will generate the HTML I want to send back. Is there a simple

Re: Welcome to nginx!

2015-12-06 Thread Maxim Dounin
Hello! On Sat, Dec 05, 2015 at 08:56:45AM -0500, Rubik wrote: > Здравствуйте, подскажите пж как настроить nginx? Установил nginx на debian 8 > с уже установленным apache работает так ip/site теперь когда захожу > открывается страница Welcome to nginx! Как настроить? Подробные инструкции можно

Re: зачем try files проверяет существование лишнего файла

2015-12-06 Thread Maxim Dounin
Hello! On Sun, Dec 06, 2015 at 02:34:51PM -0500, truffle wrote: > Есть вполне обычный location, отвечающий за отдачу статики: > location = /download { > alias /var/files; > try_files /$arg_a/$arg_b =404; > } > В процессе отладки конфигурации включил отладочный лог ошибок, а там

Re: [PATCH]add proxy_protocol_port variable for rfc6302

2015-12-06 Thread Maxim Dounin
Hello! On Mon, Dec 07, 2015 at 12:14:38AM +0900, junpei yoshino wrote: > > but we need someone to do the rest of the work. > > Could I contribute it? > At first, I will revise this patch along your review. It may be a bit too many for someone with small nginx coding experience, but you may

Handling large responses

2015-12-06 Thread Tigran Bayburtsyan
Hi I'm doing module for my company to handle custom Unix socket protocol file streaming through Ngxinx. Now we are just splitting big files into small ones , saving it in directory and sending through Nginx, but when traffic goes up, Hard driver read write is getting extremely high, so we

HTTP/2 stable status

2015-12-06 Thread Martin Wolfert
Hey, has anyone experiences with nginx 1.9.7 and http/2 in pruduction environments? Means: is http/2 stable in 1.9.7 ? Best, Martin ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx