Limiting total disk space used by cache + temp files

2017-05-03 Thread Michael Corn
Hi, I'm trying to limit the overall disk usage for the cache + any temp files. I have specified: proxy_cache_path /tmp/cache max_size=50m use_temp_path=off; proxy_max_temp_file_size 1m; Yet, what I observe is that the temp file will grow to the f

Re: performance using variables?

2017-05-03 Thread Francis Daly
On Tue, May 02, 2017 at 02:03:25PM +0200, Ingo Baab wrote: Hi there, > I got a question regarding performance of my nginx configuration > files using variables. The usual rule with performance questions is: if you do not measure a performance difference, then there is not an important performanc

Re: Rename log file based on its content

2017-05-03 Thread Francis Daly
On Tue, May 02, 2017 at 02:37:30PM +0200, SARA QUISPE MEJIA wrote: Hi there, > I want to know How can I do for to rename a log file in function to the > date of my log file ? > I known that in a log file I could find differents dates but I want to save > just the first date. It is probably easie