Re: 1.13.9 compile errors

2018-03-12 Thread Maxim Dounin
Hello! On Mon, Mar 12, 2018 at 06:32:23AM -0400, Evgenij Krupchenko wrote: [...] > in the end of "make" i got this: > > objs/ngx_modules.o \ > -ldl -lpthread -lpthread -lcrypt -lpcre > /install/openssl-1.1.1-pre2/.openssl/lib/libssl.a > /install/openssl-1.1.1-pre2/.openssl/lib/libcrypto.a -ldl

Re: Planned Features for gRPC Proxy

2018-03-12 Thread Ian McGraw
Thanks for the reply. My team and I are eagerly awaiting these features. Is there a ticket I can follow to track their status? I wasn’t able to find one on the roadmap page. Thanks, -Ian > On Mar 11, 2018, at 7:10 PM, Maxim Dounin wrote: > > Hello! > >> On Fri, Mar 09, 2018 at 11:50:03AM -0

Re: proxy_pass and trailing / decode uri

2018-03-12 Thread max
> > Whether this is correct or no depends on the particular setup - in > particular, it depends on what your backend expects as an URI. If > your backend is picky about specific forms of encoding, preserving > full original URI might be much better option than trying to > invent hacky workarounds

Re: proxy_pass and trailing / decode uri

2018-03-12 Thread Maxim Dounin
Hello! On Mon, Mar 12, 2018 at 09:55:15AM +0100, max wrote: > > When you want nginx to replace matching part of the URI with "/", > > it will do so on the decoded/normalized URI, and will re-encode > > special characters in what's left. > > > > If you want nginx to preserve original URI as sent b

1.13.9 compile errors

2018-03-12 Thread Evgenij Krupchenko
i'm building custom nginx binary on debian 9 using latest zlib and openssl sources. ./configure \ --prefix=/nginx \ --sbin-path=/nginx/sbin/nginx-https \ --conf-path=/nginx/conf/https \ --pid-path=/run/nginx-https.pid \ --error-log-path=/log/nginx-https_error.log \ --http-log-path=/log/nginx-https

Re: How can i configure proxy multiple hosts for a domain?

2018-03-12 Thread Aziz Rozyev
Hi, perhaps you should’ve explained your intention bit more in details, may be with some functional schema. As of my current understanding, you want something like port mirroring to duplicate your network traffic. anyways, it’s out of scope of nginx, search for “port/traffic mirroring”. br,

Re: proxy_pass and trailing / decode uri

2018-03-12 Thread max
Sorry for double post: > > I guess the only way to remove the /api part is "rewrite" and involves > re-encoding... => I guess the only way to remove the /api without re-encoding URI is "rewrite" ... Max 2018-03-12 9:55 GMT+01:00 max : > Hi, > > When you want nginx to replace matching part of

Re: proxy_pass and trailing / decode uri

2018-03-12 Thread max
Hi, When you want nginx to replace matching part of the URI with "/", > it will do so on the decoded/normalized URI, and will re-encode > special characters in what's left. > > If you want nginx to preserve original URI as sent by the client, > consider using proxy_pass without the URI part. That