Re: why will nginx's map directive eat all ram?

2013-08-02 Thread Payne Chu
here it is nginx version: ngx_openresty/1.4.1.1 TLS SNI support enabled configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt='-I/usr/local/Cellar/pcre/8.33/include -I/usr/local/Cellar/luajit/2.02/luajit2.0/include' --add-module=../ngx_devel_kit-0.2.18 --add-module=../echo-nginx-m

error building nginx 1.5.3 on Cygwin

2013-08-02 Thread Kevin Worthington
Hello, I'm trying to build nginx 1.5.3 on Cygwin using Windows 7. I see the following output during "make": cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -D FD_ SETSIZE=2048 -I src/core -I src/event -I src/event/modules -I src/os/unix -I ~/o penssl-0.9.8l/.openssl/incl

Re: Except Homepage no page opening

2013-08-02 Thread Bob S.
Maybe a directory permission problem? On Fri, Aug 2, 2013 at 3:50 PM, atul1985 wrote: > Hi > > Can you please see my site www.techofweb.com > I just migrated from another server > > None page except homepage is opening > > Please if somebody can reply uregently > > Thanks' > Atul > > Posted at

Except Homepage no page opening

2013-08-02 Thread atul1985
Hi Can you please see my site www.techofweb.com I just migrated from another server None page except homepage is opening Please if somebody can reply uregently Thanks' Atul Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241490,241490#msg-241490 _

Re: why will nginx's map directive eat all ram?

2013-08-02 Thread Валентин Бартенев
On Friday 02 August 2013 16:30:35 Payne Chu wrote: > recently I try to use map directive to make my nginx.conf DRY. like below > > `map $pid $public_root { default public; }` > > and in one of server directive I put below > > `root $public_root;` > > I try to `ab` test with retrieve a static ht

Re: Set default nginx-conf in sites-enabled?

2013-08-02 Thread Francis Daly
On Fri, Aug 02, 2013 at 08:38:28AM -0400, lennart wrote: Hi there, > I've several config-files in sites-enabled, all working fine. However, if a > domain (foobar2.com) not is mentioned in a config, NGINX takes the conf-file > of foobar1.com. How can i overrule this and make some sort of catch-all

Set default nginx-conf in sites-enabled?

2013-08-02 Thread lennart
I've several config-files in sites-enabled, all working fine. However, if a domain (foobar2.com) not is mentioned in a config, NGINX takes the conf-file of foobar1.com. How can i overrule this and make some sort of catch-all? With the line in the default-config i get an error 500: server {

why will nginx's map directive eat all ram?

2013-08-02 Thread Payne Chu
recently I try to use map directive to make my nginx.conf DRY. like below `map $pid $public_root { default public; }` and in one of server directive I put below `root $public_root;` I try to `ab` test with retrieve a static html. the nginx will eat all ram. if I reset back to `root public;` it

Re: 502 in Nginx as a reverse proxy whithout cache

2013-08-02 Thread marc.cortinas
I've found the error in the backend server, not in Nginx. We can close this thread, apologies! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241447,241477#msg-241477 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis

Re: caching: Expires takes precedence over max-age

2013-08-02 Thread Maxim Dounin
Hello! On Thu, Aug 01, 2013 at 03:59:45AM -0400, hippo wrote: > Hello, I have a trouble with nginx caching pages it shouldn't cache. I have > uwsgi_cache enabled: > > uwsgi_cache_path /tmp/cache levels=1:2 keys_zone=django:1m; > location /test { > uwsgi_pass unix:/tmp/uwsgi.sock; > uwsgi