diff options
Diffstat (limited to '')
-rw-r--r-- | install.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/install.php b/install.php index 58ca699..73d60f9 100644 --- a/install.php +++ b/install.php @@ -112,6 +112,8 @@ if(is_file("/etc/apache2/apache2.conf")) { } if(is_file("/etc/nginx/nginx.conf")) { + echo "Backup Nginx file to " . $backup_dir . ".\n"; + exec("cp /etc/nginx/nginx.conf " . $backup_dir . date("Ymdhis") . "-nginx.conf"; ); echo "Patch Nginx and reload it.\n"; exec("patch /etc/nginx/nginx.conf < ./nginx.conf.patch"); exec("service nginx reload"); |