Re: auth_request not passing query string

2021-05-11 Thread Francis Daly
On Tue, May 11, 2021 at 07:05:55PM -0400, rsavignon wrote: Hi there, > thanks for the fast reply. At auth server, the value of "X-Original-URI" > header is only "/validate". But should be "/validate?token=" > as all request for a static file pass a token query param to the file server > (https:/

Re: auth_request not passing query string

2021-05-11 Thread rsavignon
Hi Francis, thanks for the fast reply. At auth server, the value of "X-Original-URI" header is only "/validate". But should be "/validate?token=" as all request for a static file pass a token query param to the file server (https://files.mysite.com/myvideo.mp4?token=). Cheers, Rafael. Posted at

Re: auth_request not passing query string

2021-05-11 Thread Francis Daly
On Tue, May 11, 2021 at 04:17:24PM -0400, rsavignon wrote: Hi there, > Hi All, i'm trying to configure a auth based static files server using > nginx, but its not working because, i suppose, the $request_uri is not being > forwarded to the auth endpoint. Does auth_request support relaying > $requ

Re: why nginx is not compressing reply from proxied server?

2021-05-11 Thread Maxim Dounin
Hello! On Tue, May 11, 2021 at 06:16:46PM +0300, Peter Volkov wrote: > Err, After few hours of debugging, and writing email here, I've realised > that I have `gzip off;` in http {} block of configuration. After enabling > gzip in http block everything works fine. Is it correct behaviour that no >

auth_request not passing query string

2021-05-11 Thread rsavignon
Hi All, i'm trying to configure a auth based static files server using nginx, but its not working because, i suppose, the $request_uri is not being forwarded to the auth endpoint. Does auth_request support relaying $request_uri ? If someone could give a tip i would be very grateful. server {

Re: why nginx is not compressing reply from proxied server?

2021-05-11 Thread Peter Volkov
Err, After few hours of debugging, and writing email here, I've realised that I have `gzip off;` in http {} block of configuration. After enabling gzip in http block everything works fine. Is it correct behaviour that no warning is issued with such configuration? -- Peter. On Tue, May 11, 2021 a

why nginx is not compressing reply from proxied server?

2021-05-11 Thread Peter Volkov
Hi, I have a HTTP/1.0 web server that streams chunked content to clients. It does not gzip content so I would like to use nginx as reverse proxy to compress output from this server. Yet, no matter what I do nginx is not compressing results. For nginx I'm using following config: server { gzip o