I have own solution which you can read at: http://linux-sysadmin.org/2010/12/best-way-for-nginx-logs-rotation/by Radek - How to...
Try to use my script on site: http://linux-sysadmin.org/2010/08/nginx-invalidation-purging-content/by Radek - Nginx Mailing List - English
I wrote script which can purge your content directly from binary files in proxy_cache_path. So, maybe it will be interesting for you. More info on http://gnu.linux-sysadmin.orgby Radek - Other discussion
Hello, i want to rotate logs without HUP signal or reopen utility. I tried something like this: access_log /tmp/access_$date_gmt.log log; then i see every second new access log: access_1272528056.log but i need rotation every minute. Is it possible do rotation by time every minute? My vision of access log (date: 2010-04-29 10:14) access_2010-04-29-10-14.log access_14.log accby Radek - How to...
I want to match query string in location. Is it possible? i have requests: http://example.cz/test.jpg http://example.cz/test.jpg?test=1 my locations: location / { //match any requests location ~* .*\?.*$ { //could be match only test.jpg?test=1, but no :-( I don't' want to use if condition. I want to do this with location... Thanksby Radek - How to...