From 8b896cd08c598dab6812c581f49f877b8b07e8c2 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Mon, 14 Jan 2013 11:28:51 -0500
Subject: [PATCH] - Disabled "fastcgi_param PATH_INFO $fastcgi_script_name;" in nginx vhost template (see http://gunblad3.blogspot.de/2009/07/nginx-php-fpm-serverphpself-returning.html ).

---
 server/scripts/create_daily_nginx_access_logs.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/scripts/create_daily_nginx_access_logs.sh b/server/scripts/create_daily_nginx_access_logs.sh
index 44d7f6b..ce4945f 100644
--- a/server/scripts/create_daily_nginx_access_logs.sh
+++ b/server/scripts/create_daily_nginx_access_logs.sh
@@ -3,7 +3,7 @@
 FILES=/var/log/ispconfig/httpd/*
 for f in $FILES
 do
-  mv $f/access.log $f/`date "+%Y%m%d"`-access.log &> /dev/null
+  mv $f/access.log $f/`date --date='yesterday' "+%Y%m%d"`-access.log &> /dev/null
   touch $f/access.log &> /dev/null
 done
-/etc/init.d/nginx reload  &> /dev/null
\ No newline at end of file
+pkill -USR1 -u root nginx &> /dev/null
\ No newline at end of file

--
Gitblit v1.9.1