proxy_cache_lock stat under log

2016-05-29 Thread yogeshorai
Hi, We are using proxy_cache_lock feature of nginx and have set proxy_cache_lock_age and proxy_cache_lock_timeout attributes. To monitor and get overall stats we are looking for nginx log generated and any option to add some proxy cache lock based numbers to log entries. Some info about request

Re: HTTP not working / downloads 57 byte small file

2016-05-29 Thread B.R.
There is little to nothing anyone can do with such a message. Details? Version? Configuration? Leanest example possible to reproduce the problem? Anything allowing people to help you... and encouraging them to get the the will to do so. http://www.catb.org/esr/faqs/smart-questions.html --- *B. R.*

Re: Return default placeholder image when image file on server not found

2016-05-29 Thread JoakimR
Found the answer on IRC #Freenode #nginx by catbeard location ~ \.(png|jp?g|gif)$ { error_page 404 /404.png; } http://serverfault.com/a/481612 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267211,267213#msg-267213