Hi, On 2015/02/25 1:34, Maxim Dounin wrote: > Hello! > > On Tue, Feb 24, 2015 at 06:36:47PM +0900, Toshikuni Fukaya wrote: > >> Hi, >> >> I found a little bug on error logging for ngx_http_auth_basic_module. >> My config is following: >> >> location / { >> set $file passwd; >> auth_basic "closed"; >> auth_basic_uby Toshikuni Fukaya - Nginx Development
Hi, I found a little bug on error logging for ngx_http_auth_basic_module. My config is following: location / { set $file passwd; auth_basic "closed"; auth_basic_user_file /etc/nginx/$file; } When access to the location with wrong user or password, nginx logged a user file name and it contains null character. The reason of this is using format '%V' to print user_file. I think itby Toshikuni Fukaya - Nginx Development
Hi, On 2014/12/19 21:10, Maxim Dounin wrote: > Hello! > > On Fri, Dec 19, 2014 at 03:52:55PM +0900, Toshikuni Fukaya wrote: > >> Hi, >> >> I have some questions for X-Accel-Redirect. >> >> Background: I use X-Accel-Redirect to send blob data from a second >> server (:8001 in below). I want to send headers from not only the second >> but also tby Toshikuni Fukaya - Nginx Development
Hi, I have some questions for X-Accel-Redirect. Background: I use X-Accel-Redirect to send blob data from a second server (:8001 in below). I want to send headers from not only the second but also the first (:8000). Current nginx implementation, however, sends only headers from the second except some headers from the first, such as Content-Type. Question 1: Can I change this behavior to send heby Toshikuni Fukaya - Nginx Development
Hi, (2014/11/11 3:02), Maxim Dounin wrote: > Hello! > > On Tue, Nov 04, 2014 at 08:18:44PM +0900, Toshikuni Fukaya wrote: > >> # HG changeset patch >> # User Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp> >> # Date 1415098583 -32400 >> # Node ID 6f4517db02a8cd4068b9378bd93fe6290f54720d >> # Parent dff86e2246a53b0f4a61935cd5c8c0a0f66d0ca2 >>by Toshikuni Fukaya - Nginx Development
Hi, (2014/11/08 0:59), Igor Sysoev wrote: > On 04 Nov 2014, at 14:18, Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp> wrote: > >> Upstream: support named location for X-Accel-Redirect. > > Could please you provide usage examples? > > Here is my (simplified) config: server { location / { proxy_pass http://app; } location @contents { proxy_pass http://cby Toshikuni Fukaya - Nginx Development
# HG changeset patch # User Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp> # Date 1415098583 -32400 # Node ID 6f4517db02a8cd4068b9378bd93fe6290f54720d # Parent dff86e2246a53b0f4a61935cd5c8c0a0f66d0ca2 Upstream: support named location for X-Accel-Redirect. diff -r dff86e2246a5 -r 6f4517db02a8 src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c Mon Aug 25 13:41:31 2014 +0400 ++by Toshikuni Fukaya - Nginx Development