Francis Daly,
Yes, I am trying the same functionality as you mentioned. I want to serve
1st request from backend weblogic application and after that I want to serve
same request for another hour from nginx cache.
Thanks!
Sam
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250126,2
Hello!
On Mon, May 19, 2014 at 03:06:06PM -0400, samingrassia wrote:
> Thanks to everyone in advance!
>
> I have a cron that runs the following:
>
> mv $NGINX_ACCESS_LOG $ACCESS_LOG_DROPBOX/$LOG_FILENAME
> kill -USR1 `cat $NGINX_PID`
>
> My questions is during time between the mv and the kill,
On Tue, May 20, 2014 at 9:37 AM, Valentin V. Bartenev wrote:
> Deleting a file doesn't make file descriptor "invalid". It's valid and the
> file actually exists on file system till there is at least one descriptor
> pointing to that file.
>
Thanks for that Valentin, I learned something today.
On Tuesday 20 May 2014 09:52:09 Lasse Laursen wrote:
> Alternatively have a look here:
> http://www.cambus.net/log-rotation-directly-within-nginx-configuration-file
> /
>
[..]
This is a bad way to solve the problem.
1. It introduces two additional open()/close() system calls per access_log
Alternatively have a look here:
http://www.cambus.net/log-rotation-directly-within-nginx-configuration-file/
Kind regards
Lasse Laursen
> On 19 May 2014, at 21:06, "samingrassia" wrote:
>
> Thanks to everyone in advance!
>
> I have a cron that runs the following:
>
> mv $NGINX_ACCESS_LOG $AC
http://www.catb.org/esr/faqs/smart-questions.html
---
*B. R.*
On Tue, May 20, 2014 at 9:22 AM, shahin-slt wrote:
> hi
> i'm looking for best nginx config that work with php scripts. please help
> me.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,250229,250229#msg-250229
>
> _
On Tuesday 20 May 2014 09:01:45 B.R. wrote:
> On Mon, May 19, 2014 at 9:53 PM, Lord Nynex wrote:
> > The name of the file is really sort of irrelevant. The file descriptor
> > will still point at $ACCESS_LOG_DROPBOX/$LOG_FILENAME. Any log lines
> > between MV and KILL *should* still be written the
hi
i'm looking for best nginx config that work with php scripts. please help
me.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250229,250229#msg-250229
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Mon, May 19, 2014 at 9:53 PM, Lord Nynex wrote:
>
> The name of the file is really sort of irrelevant. The file descriptor
> will still point at $ACCESS_LOG_DROPBOX/$LOG_FILENAME. Any log lines
> between MV and KILL *should* still be written there.
>
> Why not use logrotate?
>
There has bee