Case insensitive exact location match?

2015-05-18 Thread E.B.
I know how to do case insensitive regex location matching. But it would be very useful if I could do same with exact string matching, something like location =* /test So it would matching "/test" as well as "/TEST" Or some other way to convert case of the request string without needing fo

Re: example.com is found, but not www.example.com

2015-05-18 Thread gariac
Thanks all. I will not use the catch all but will enter the www.example.com in the name server. I spent some time reading up on Nginx to be er um less stupid, but should have spent more time on DNS. ;-) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258943,258976#msg-258976 __

Re: Question about source code: Any need to call ngx_event_pipe_remove_shadow_links in ngx_event_pipe_read_upstream?

2015-05-18 Thread Maxim Dounin
Hello! On Sun, May 17, 2015 at 02:36:08PM +0800, J.J J wrote: > Hi, all: > > nginx code version: 1.7.9 ( I have checked v1.9.0, no change about this) > > The bufs used to invoke ngx_event_pipe_remove_shadow_links in > ngx_event_pipe_read_upstream come from p->preread_bufs or p->free_raw_bufs >

Re: upstream redirect instead proxy_pass

2015-05-18 Thread Maxim Dounin
Hello! On Sun, May 17, 2015 at 01:07:30PM -0400, EvilMoe wrote: > Hello, > > I would like to use Nginx as Load Balancer (traffic). My config is: > > > upstream storages { > least_conn; > server str1 weight=1 max_fails=1 fail_timeout=10s; > server str2 weight=1 max_fails

Re: nginx and php5-fpm have stopped working

2015-05-18 Thread winnall
I've got round this by removing nginx-extras. The error messages no longer appear in the logs and - more importantly - nginx and php5-fpm both now run again together. The website still doesn't work properly, but I think that's a Drupal problem Steve Posted at Nginx Forum: http://forum.nginx.org/

get some errors when i install openresty

2015-05-18 Thread 张恒
some errors: x ngx_openresty-1.7.10.1/bundle/ngx_lua-0.9.15/t/042-crc32.t x ngx_openresty-1.7.10.1/bundle/ngx_lua-0.9.15/t/107-timer-errors.t x ngx_openresty-1.7.10.1/bundle/ngx_lua-0.9.15/t/123-lua-path.t x ngx_openresty-1.7.10.1/bundle/ngx_lua-0.9.15/t/127-uthread-kill.t x ngx_openresty-1.7.10.1

Re: Satistfy any not working as expected

2015-05-18 Thread Maxim Dounin
Hello! On Mon, May 18, 2015 at 04:48:40AM -0400, Arno0x0x wrote: > Hi, > > I'm facing an issue using the "satisfy any" directive. What I'm trying to > achieve is quite simple: > - have an auth_request directive protecting the entire website (hence set at > the server level in the config file) >

TCP Connection details

2015-05-18 Thread nginxsantos
I am using the Nginx as a reverse proxy and I want to find out the TCP connection information on both east and west bound connections. With the following params on the access log, I am able to get the info about the client TCP connection. Now, I want to find the RTT between Nginx and the backend we

Re: issues about nginx proxy_cache

2015-05-18 Thread Valentin V. Bartenev
On Friday 15 May 2015 16:38:36 紫凌之魂 wrote: > Hi: >Dear all >It is very pleasure to join in nginx mail list, but exactly i met a > problem When I use nginx1.7.9 as a reverse-proxy-server. more details as > follows: > my design requirements are those: >what I want is that nginx downlo

Re: example.com is found, but not www.example.com

2015-05-18 Thread B.R.
Catch-all records are not to be advised. ​Use a CNAME for www subdomain pointing to the ​base domain, rather than another A record (easier maintenance... CNAME are here for a reason!). ​Definitely not a nginx problem though...​ --- *B. R.* On Mon, May 18, 2015 at 8:07 AM, Nikolaj Schomacker wro

Satistfy any not working as expected

2015-05-18 Thread Arno0x0x
Hi, I'm facing an issue using the "satisfy any" directive. What I'm trying to achieve is quite simple: - have an auth_request directive protecting the entire website (hence set at the server level in the config file) - have no such authentication for the local network I've put the following lines