agentzh Wrote: ------------------------------------------------------- > On Mac OS X 10.6, I have to use "127.0.0.1" > instead of "localhost" > while running the ab command, or I'll get exactly > the same error > message. > > And for 10.7 (Lion), people say they have to apply > a patch to ab to get it work. > > Hope this helps, >by janedenone - Nginx Mailing List - English
Thanks again for the helpful hint. I noticed that it seems to be possible to remove the $uri part – try_files $uri/ $uri.html =404; – and URLs like /image.jpg, /style.css etc are still found. I would expect that these requests return 404, because nginx tries image.jpg/ and then image.jpg.html, but not the actual $uri. Am I missing something?by janedenone - Nginx Mailing List - English
agentzh Wrote: > What kind of system are you in? ab is known to > have such issues in > certain Mac OS X boxes to my knowledge :) Well – Mac OS X. :) Are these issues to the ab version that comes with OS X, or are they related to the OS in general? In the former case, I'd just recompile ab manually. Thanks!by janedenone - Nginx Mailing List - English
Excellent, this works. Thanks a lot.by janedenone - Nginx Mailing List - English
Thanks – there is no firewall (the test is run on my local machine), and the error.log shows nothing. I increased the log level, only to see notifications about exiting worker and cache processes.by janedenone - Nginx Mailing List - English
In the following simple configuration server { server_name testsite.static; root /some/path/; index blog.html; try_files $uri $uri.html =404; } the try_files directive seems to interfere with the index directive: I always get 404 for http://testsite.static/. If I remove the fallback part of try_files, the same request results in an error: *990 rewrite or internal redirection cycby janedenone - Nginx Mailing List - English
I recently updated to nginx 1.0.8 and tried to benchmark performance for cached dynamic pages (initially served by a Django app via proxy_pass) and for static pages. In both cases, nginx will not serve more than 3 or 4 requests (even without concurrent connections), so ab almost immediately reports: Benchmarking testsite.static (be patient)...apr_socket_recv: Connection reset by peer (54) Itby janedenone - Nginx Mailing List - English
Apologies: The working configuration did have proxy_cache_valid buried in some included file, so my post was pointless.by janedenone - Nginx Mailing List - English
Hi, I am new to nginx (and to caching proxies), and I'd like to make sure I use the Proxy module correctly. As far as I understand, the following directive proxy_cache_path /data/nginx/cache/one levels=1 keys_zone=one:10m inactive=10m max_size:500m; asks nginx to cache a certain page for 10 minutes. If it is not requested again within that time span, the page is removed from theby janedenone - Nginx Mailing List - English