oauth+property list=403 forbidden

2016-08-31 Thread igroykt
Всем привет. Есть backend на nginx который раздает plist+ipa. Есть frontend который передает запросы на oauth2_proxy который проксирует на backend. Проблема в том, что если с frontend запросить plist, то отдается http код 403. 127.0.0.1 - - [01/Sep/2016:11:02:33 +0900] 127.0.0.1:4181 GET -

Re: [PATCH] HTTP: add support for trailers in HTTP responses

2016-08-31 Thread Piotr Sikora
Hey Maxim, > Could you please describe one of the uses cases in details? > That's what I'm asking all the time, and still didn't get even a > single description of a real-world use case. You were definitely given some real-world use cases in this thread already:

Re: Nginx multiple upstream map conditions

2016-08-31 Thread c0nw0nk
c0nw0nk Wrote: --- > Francis Daly Wrote: > --- > > On Wed, Aug 31, 2016 at 01:30:30PM -0400, c0nw0nk wrote: > > > > Hi there, > > > > > Thanks works a treat is it possible or allowed to do the

Re: nginx dso coredump

2016-08-31 Thread 洪志道
Thanks 2016-09-01 0:50 GMT+08:00 Maxim Dounin : > Hello! > > On Wed, Aug 31, 2016 at 01:19:14AM +0800, 洪志道 wrote: > > > Hi. > > > > It’s do really a funny experience. Now I use in the following way. > > > > [ngx_http_hello_module] > > > > > > 1. development: > > > >

Re: Nginx multiple upstream map conditions

2016-08-31 Thread c0nw0nk
Francis Daly Wrote: --- > On Wed, Aug 31, 2016 at 01:30:30PM -0400, c0nw0nk wrote: > > Hi there, > > > Thanks works a treat is it possible or allowed to do the following > in a > > nginx upstream map ? and if so how i can't figure it out. > >

Re: [PATCH] SSL: fix order of checks during SSL certificate verification

2016-08-31 Thread Piotr Sikora
Hey Maxim, > At this point nginx just uses the interface provided by the > OpenSSL library, exactly as documented. The fact that the > interface is flawed (and documented to be flawed to make sure > people will use it properly) has nothing to do with nginx use of > it. And yet, NGINX doesn't

Re: Nginx multiple upstream map conditions

2016-08-31 Thread Francis Daly
On Wed, Aug 31, 2016 at 01:30:30PM -0400, c0nw0nk wrote: Hi there, > Thanks works a treat is it possible or allowed to do the following in a > nginx upstream map ? and if so how i can't figure it out. I think it is logically impossible. > I cache with the following key. > fastcgi_cache_key >

looks nice

2016-08-31 Thread gavidmogarrr
Hey friend, I've recently came accross that amazing stuff, it looks nice I think, ytake a look All best, gavidmogarrr ___ nginx mailing list nginx@nginx.org

Re: Проблема с двойным кодированием заголовка при проксировании

2016-08-31 Thread Maxim Dounin
Hello! On Wed, Aug 31, 2016 at 06:54:08PM +0300, Alexander Gerasiov wrote: > Использую nginx в качестве forward proxy к apache с mod_svn. > > Известный трюк: для работы методов COPY MV требуется переписывать > заголок Destination, чтобы поменять схему с https на http > > set

Re: [PATCH] Add --without-http-expect option

2016-08-31 Thread Josh Yudaken
Hi, I wasn't sure of any other examples of it breaking the HTTP standard, so figured a compile time option was safer. Unfortunately bugging Google any more than we already do probably won't get the problem solved, and the standard "100 Continue" behavior causes 502 errors for our end users. For

Re: [PATCH] Add --without-http-expect option

2016-08-31 Thread Maxim Dounin
Hello! On Wed, Aug 31, 2016 at 10:08:44AM -0700, Josh Yudaken wrote: > # HG changeset patch > # User Josh Yudaken > # Date 1472606412 25200 > # Tue Aug 30 18:20:12 2016 -0700 > # Node ID f81a22addc7fe1ca7486e932470756f4d73a3bb2 > # Parent

Re: Nginx multiple upstream map conditions

2016-08-31 Thread c0nw0nk
Thanks works a treat is it possible or allowed to do the following in a nginx upstream map ? and if so how i can't figure it out. I cache with the following key. fastcgi_cache_key "$session_id_value$scheme$host$request_uri$request_method"; if the upstream_cookie_logged_in value is not equal to

[PATCH] Add --without-http-expect option

2016-08-31 Thread Josh Yudaken
# HG changeset patch # User Josh Yudaken # Date 1472606412 25200 # Tue Aug 30 18:20:12 2016 -0700 # Node ID f81a22addc7fe1ca7486e932470756f4d73a3bb2 # Parent c6372a40c2a731d8816160bf8f55a7a50050c2ac Add --without-http-expect option Some load balancers (specifically Google

Add --without-http-expect option

2016-08-31 Thread Josh Yudaken
# HG changeset patch # User Josh Yudaken # Date 1472606412 25200 # Tue Aug 30 18:20:12 2016 -0700 # Node ID f81a22addc7fe1ca7486e932470756f4d73a3bb2 # Parent c6372a40c2a731d8816160bf8f55a7a50050c2ac Add --without-http-expect option Some load balancers (specifically Google

Re: nginx dso coredump

2016-08-31 Thread Maxim Dounin
Hello! On Wed, Aug 31, 2016 at 01:19:14AM +0800, 洪志道 wrote: > Hi. > > It’s do really a funny experience. Now I use in the following way. > > [ngx_http_hello_module] > > > 1. development: > > ngx_http_hello_module.c => ngx_http_hello_module.so > > > 2. production > > mv

[njs] A fix in decodeURI() and decodeURIComponent() functions.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/715b147cbfe0 branches: changeset: 166:715b147cbfe0 user: Igor Sysoev date: Wed Aug 31 19:28:08 2016 +0300 description: A fix in decodeURI() and decodeURIComponent() functions. diffstat: njs/njs_string.c | 6 +++--- 1 files

[njs] A fix in decodeURI() function.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/584114a51b51 branches: changeset: 165:584114a51b51 user: Igor Sysoev date: Wed Aug 31 19:18:47 2016 +0300 description: A fix in decodeURI() function. diffstat: njs/njs_string.c | 6 -- 1 files changed, 4 insertions(+), 2

[njs] A fix in decodeURI() and decodeURIComponent() functions.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/76f16f0ef6c5 branches: changeset: 164:76f16f0ef6c5 user: Igor Sysoev date: Wed Aug 31 17:51:54 2016 +0300 description: A fix in decodeURI() and decodeURIComponent() functions. diffstat: njs/njs_string.c | 1 + 1 files changed,

Проблема с двойным кодированием заголовка при проксировании

2016-08-31 Thread Alexander Gerasiov
Добрый день. Использую nginx в качестве forward proxy к apache с mod_svn. Известный трюк: для работы методов COPY MV требуется переписывать заголок Destination, чтобы поменять схему с https на http set $fixed_destination $http_destination; if ($http_destination ~* ^https(.*)$)

[PATCH] Added the $upstream_connection variable

2016-08-31 Thread Jason Stangroome
Hello, I am using nginx primarily as a proxy and I am looking to improve the visibility and control over keepalive connections to upstreams. I have several patches I would like to submit for your consideration but I am relatively unfamiliar with the code base so I've started simple and I

[njs] An invalid value of Date object has been fixed.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/c0aa3ecd2e83 branches: changeset: 163:c0aa3ecd2e83 user: Igor Sysoev date: Wed Aug 31 15:53:13 2016 +0300 description: An invalid value of Date object has been fixed. diffstat: njs/njs_date.c | 10 ++

[njs] C language features have been enabled.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/47f4830c3d22 branches: changeset: 162:47f4830c3d22 user: Igor Sysoev date: Tue Aug 30 12:11:24 2016 +0300 description: C language features have been enabled. diffstat: nxt/auto/clang | 86

[njs] decodeURI() and decodeURIComponent() functions.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/323f00dc9879 branches: changeset: 161:323f00dc9879 user: Igor Sysoev date: Tue Aug 30 12:05:46 2016 +0300 description: decodeURI() and decodeURIComponent() functions. diffstat: njs/njs_builtin.c|4 +

Log the headers sent by nginx to upstream server

2016-08-31 Thread Sushma
My client sends a request to nginx with a http header set. This header is overwritten by nginx before passing along the reqest to the downstream server. I want to log the header after modification by nginx. I understand that we can log the header sent by client using "$http_". Is there some