Changes between Version 7 and Version 8 of TipAndDoc/network/httpd/nginx


Ignore:
Timestamp:
Dec 17, 2013 11:34:24 PM (11 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/httpd/nginx

    v7 v8  
    2828 * [http://stackoverflow.com/questions/9476776/what-happens-to-nginx-when-i-use-named-pipes-as-log-file-and-remove-and-recreate What happens to nginx when I use named pipes as log file and remove and recreate the pipe? - Stack Overflow] 
    2929 
    30  * crontabで00:00に{{{mv access_log access_log.`date`; kill -USR1 `cat /var/run/nginx.pid`}}}とした方がよさそう 
     30 * crontabで23:59に{{{mv access_log access_log.`date`}}}、00:00に{{{kill -USR1 `cat /var/run/nginx.pid`}}}とした方がよさそう 
     31  * 00:00にmvすると次の日の日付でファイル名が決まってしまう