Re: HTTP Basic Auth question

2013-05-01 Thread Francis Daly
On Wed, May 01, 2013 at 01:17:41PM -0400, B.R. wrote: Hi there, > To pass the nginx user to a fastcgi backend (PHP), I have to explicitly > specify it using the following directive: > fastcgi_param MY_USER $remote_user; > > I suppose you can do the same with proxy_pass? That's how I'd do

Re: Nginx 1.4 problem

2013-05-01 Thread Maxim Dounin
Hello! On Wed, May 01, 2013 at 02:18:44PM -0700, Paul N. Pace wrote: > On Wed, May 1, 2013 at 2:07 PM, Maxim Dounin wrote: > > Hello! > > > > On Wed, May 01, 2013 at 11:17:10AM -0700, Alder Network wrote: > > > >> Just for clarity, I want to be listening on both IPv4 and IPv6 on the same > >> po

Re: Nginx 1.4 problem

2013-05-01 Thread Alder Network
I tried listen [::]:80 ipv6only=off; and the TCP connection went through, but got an http 400 bad response. It would be nice to have a corresponding config upgrade manual as well. Thanks, On Wed, May 1, 2013 at 2:18 PM, Paul N. Pace wrote: > On Wed, May 1, 2013 at 2:07 PM, Maxim Dounin wr

Re: Nginx 1.4 problem

2013-05-01 Thread Paul N. Pace
On Wed, May 1, 2013 at 2:07 PM, Maxim Dounin wrote: > Hello! > > On Wed, May 01, 2013 at 11:17:10AM -0700, Alder Network wrote: > >> Just for clarity, I want to be listening on both IPv4 and IPv6 on the same >> port. > > You have to write > > listen 80; > listen [::]:80; > > to listen on b

Re: Nginx 1.4 problem

2013-05-01 Thread Maxim Dounin
Hello! On Wed, May 01, 2013 at 11:17:10AM -0700, Alder Network wrote: > Just for clarity, I want to be listening on both IPv4 and IPv6 on the same > port. You have to write listen 80; listen [::]:80; to listen on both IPv4 and IPv6. > > > On Wed, May 1, 2013 at 11:00 AM, Alder Netwo

Re: Nginx 1.4 problem

2013-05-01 Thread Alder Network
Just for clarity, I want to be listening on both IPv4 and IPv6 on the same port. On Wed, May 1, 2013 at 11:00 AM, Alder Network wrote: > netstat -pln shows the server is waiting on that port. > > Yes, I have been using in server section > listen [::]:80; > What is supposed to be for IPV4 now

Re: Nginx 1.4 problem

2013-05-01 Thread Alder Network
netstat -pln shows the server is waiting on that port. Yes, I have been using in server section listen [::]:80; What is supposed to be for IPV4 now? I'll go over the changelist later, Thanks, - Alder On Wed, May 1, 2013 at 10:40 AM, Maxim Dounin wrote: > Hello! > > On Wed, May 01, 2013 a

Re: Question about UPSTREAM configuration...

2013-05-01 Thread Maxim Dounin
Hello! On Wed, May 01, 2013 at 01:30:14PM -0400, lflacayo wrote: > Hello All, > > Hope some one out there can help me a clear up my understanding. > > If I have 5 server on an upstream configuration list, to help load balance > the load across the 5 servers. Once in a while I am seen "(110

Re: Nginx 1.4 problem

2013-05-01 Thread Maxim Dounin
Hello! On Wed, May 01, 2013 at 10:13:34AM -0700, Alder Network wrote: > Tried to upgrade to just-released Nginx1.4. TCP 3-way hand-shake > aborted by server's ACK+RST packet, but netstat shows server > is listening on that port. Any config has been changed since Nginx 1.2 > to 1.4 in this regar

Re: limit_req and IP white listing on 0.8.55

2013-05-01 Thread Maxim Dounin
Hello! On Wed, May 01, 2013 at 12:04:12AM -0400, nauger wrote: > Hi Maxim, > > Thank you-- that makes sense. Before upgrading, is it possible to implement > this white list behavior using a different mechanism? You may try to use if + set at server level instead of map. -- Maxim Dounin http:

Question about UPSTREAM configuration...

2013-05-01 Thread lflacayo
Hello All, Hope some one out there can help me a clear up my understanding. If I have 5 server on an upstream configuration list, to help load balance the load across the 5 servers. Once in a while I am seen "(110: Connection timed out) while connecting to upstream". Now what I am not clear

Re: HTTP Basic Auth question

2013-05-01 Thread B.R.
To pass the nginx user to a fastcgi backend (PHP), I have to explicitly specify it using the following directive: fastcgi_param MY_USER $remote_user; I suppose you can do the same with proxy_pass? I dunno how to remove an automatically forwarded parameter though... Maybe overwriting it with

Nginx 1.4 problem

2013-05-01 Thread Alder Network
Tried to upgrade to just-released Nginx1.4. TCP 3-way hand-shake aborted by server's ACK+RST packet, but netstat shows server is listening on that port. Any config has been changed since Nginx 1.2 to 1.4 in this regard? Thanks, - Alder ___ nginx mail

[ANNOUNCE] Tengine-1.4.5 is released

2013-05-01 Thread Weibin Yao
Hi folks, We are glad to announce that Tengine-1.4.5 (development version) has been released. You can either checkout the source code from github: https://github.com/alibaba/tengine or download the tarball directly: http://tengine.taobao.org/download/tengine-1.4.5.tar.gz In this release, we have

HTTP Basic Auth question

2013-05-01 Thread Russ Lavoy
Hello, I am running nginx as a reverse proxy to a python application.  I am wondering how I would be able to pass ONLY the user account and not the password.  Can this be done? Thanks! ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/m

Reg. POST data body

2013-05-01 Thread ESWAR RAO
Hi All, I am trying to collect the POST request body using $request_body but I am unable to collect it in config file: # curl -X POST -d "param1=value1¶m2=value2" ' http://localhost:8031/test1/test2/' --header "Content-Type:application/json" location /test1 { ...

Re: Howto set geoip_country for IPv4 and IPv6 databases?

2013-05-01 Thread Rancor
Ruslan Ermilov Wrote: --- > On Tue, Apr 30, 2013 at 09:03:20AM -0400, Rancor wrote: > > nginx detects the IPv6 support in libgeoip by trying to compile > the following code snippet: > > #include > #include > > int > main(void) > { > p

Documentation of post_action

2013-05-01 Thread B.R.
As Maxim pointed out specifically in a not-that-old message, the 'post_action' directive is left undocumented on purpose, since it implies carefulness and knowledge to manipulate properly. Although my request might seem naive to certain people, wouldn't it be more profitable to document the direct